diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-05-01 14:26:54 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-05-01 14:26:54 +0300 |
commit | ec3d61fb3133c8d44a823ce4e20906d6e22beb7b (patch) | |
tree | c58e196e9bdc9843fda896a7e4ce851dd7939539 /application/palemoon/base/content/browser.js | |
parent | d9b56d39da00f3055376affd296515b162fcc773 (diff) | |
download | UXP-ec3d61fb3133c8d44a823ce4e20906d6e22beb7b.tar UXP-ec3d61fb3133c8d44a823ce4e20906d6e22beb7b.tar.gz UXP-ec3d61fb3133c8d44a823ce4e20906d6e22beb7b.tar.lz UXP-ec3d61fb3133c8d44a823ce4e20906d6e22beb7b.tar.xz UXP-ec3d61fb3133c8d44a823ce4e20906d6e22beb7b.zip |
[PALEMOON] Use CSS transition instead of JS animation for hiding toolbox in fullscreen mode and simplify related code
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r-- | application/palemoon/base/content/browser.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 9f4d66c07..d22e7f140 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) @@ -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) |