diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-01 15:56:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-01 15:56:01 +0200 |
commit | 531a71892f77508fa27aa0cfcd8c802f65f8cfc6 (patch) | |
tree | 7558f0aaca0f3a8a4ac05ad5c3feedb6abc435b2 /application/palemoon/base/content/browser.js | |
parent | d0c19e4607964c04109e12399e98e86b331edd0f (diff) | |
parent | 8d439c38e204f1fde36ad8cfabd224712a939e43 (diff) | |
download | UXP-531a71892f77508fa27aa0cfcd8c802f65f8cfc6.tar UXP-531a71892f77508fa27aa0cfcd8c802f65f8cfc6.tar.gz UXP-531a71892f77508fa27aa0cfcd8c802f65f8cfc6.tar.lz UXP-531a71892f77508fa27aa0cfcd8c802f65f8cfc6.tar.xz UXP-531a71892f77508fa27aa0cfcd8c802f65f8cfc6.zip |
Merge pull request #313 from JustOff/PR_fullscreen_fix_basic
Align Pale Moon codebase with the updated fullscreen API
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r-- | application/palemoon/base/content/browser.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 9f4d66c07..72d51ce4a 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -1741,7 +1741,7 @@ function loadOneOrMoreURIs(aURIString) function focusAndSelectUrlBar() { if (gURLBar) { if (window.fullScreen) - FullScreen.mouseoverToggle(true); + FullScreen.showNavToolbox(); gURLBar.select(); if (document.activeElement == gURLBar.inputField) @@ -2533,8 +2533,8 @@ function BrowserFullScreen() window.fullScreen = !window.fullScreen; } -function onFullScreen(event) { - FullScreen.toggle(event); +function onFullScreen() { + FullScreen.toggle(); } function onMozEnteredDomFullscreen(event) { @@ -3015,7 +3015,7 @@ const BrowserSearch = { #endif var searchBar = this.searchBar; if (searchBar && window.fullScreen) - FullScreen.mouseoverToggle(true); + FullScreen.showNavToolbox(); if (searchBar) searchBar.select(); if (!searchBar || document.activeElement != searchBar.textbox.inputField) |