Bug 956576 - Location app bar pops up when fragment identifier changes (URL stuff after hash / number sign). r=mbrubeck

This commit is contained in:
Aleh Zasypkin 2014-01-17 17:58:39 +01:00
parent 56cc3dc1ce
commit 7f2c6f90e8

View File

@ -316,7 +316,9 @@ var ContextUI = {
handleEvent: function handleEvent(aEvent) {
switch (aEvent.type) {
case "URLChanged":
if (aEvent.target == Browser.selectedBrowser) {
// "aEvent.detail" is a boolean value that indicates whether actual URL
// has changed ignoring URL fragment changes.
if (aEvent.target == Browser.selectedBrowser && aEvent.detail) {
this.displayNavbar();
}
break;