Skip to content

Commit

Permalink
browser: slideshow: add more window feature options
Browse files Browse the repository at this point in the history
Some browsers, such as Firefox, ignore height and width popup windows,
so it is better to specify more options.

Change-Id: I8076fdb4bf6e3ac95a3f18496bfea148d8948d11
Signed-off-by: Henry Castro <[email protected]>
  • Loading branch information
hcvcastro committed Nov 4, 2024
1 parent 6bcced1 commit 98ec3d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion browser/src/slideshow/PresenterConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ class PresenterConsole {
this._proxyPresenter = window.open(
'',
'_blank',
'popup,width=800,height=500,left=' + left + ',top=' + top,
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,' +
'resizable=1,popup=true,width=800,height=500,left=' +
left +
',top=' +
top,
);
if (!this._proxyPresenter) {
this._presenter._notifyBlockedPresenting();
Expand Down

0 comments on commit 98ec3d2

Please sign in to comment.