mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 956576 - Location app bar pops up when fragment identifier changes (URL stuff after hash / number sign). r=mbrubeck
This commit is contained in:
parent
56cc3dc1ce
commit
7f2c6f90e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user