summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.js
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-05-01 14:26:54 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-05-01 14:26:54 +0300
commitec3d61fb3133c8d44a823ce4e20906d6e22beb7b (patch)
treec58e196e9bdc9843fda896a7e4ce851dd7939539 /application/palemoon/base/content/browser.js
parentd9b56d39da00f3055376affd296515b162fcc773 (diff)
downloadUXP-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.js4
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)