Skip to content

Commit

Permalink
Make sure the dialog is always on top.
Browse files Browse the repository at this point in the history
  • Loading branch information
haehn committed Nov 4, 2023
1 parent a860cec commit 9fe8aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/imageCaptioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function displayText(captionText) {
container.style.position = 'absolute';
container.style.top = '10px';
container.style.left = '10px';
container.style.zIndex = '1000';
container.style.zIndex = '1000000';
container.style.backgroundColor = 'white';

const textElement = window.document.createElement('p');
Expand Down

0 comments on commit 9fe8aa2

Please sign in to comment.