mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898192 - Skip SocialMark and SocialShare code in onLocationChange when SocialUI is disabled. f=mhammond,r=jaws
--HG-- extra : rebase_source : f19d53a330e8f81ce6779bd1e786a1c256a5b921
This commit is contained in:
parent
8262747c69
commit
c987bd1037
@ -3941,8 +3941,10 @@ var XULBrowserWindow = {
|
|||||||
|
|
||||||
// Update starring UI
|
// Update starring UI
|
||||||
BookmarkingUI.updateStarState();
|
BookmarkingUI.updateStarState();
|
||||||
SocialMark.updateMarkState();
|
if (SocialUI.enabled) {
|
||||||
SocialShare.update();
|
SocialMark.updateMarkState();
|
||||||
|
SocialShare.update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show or hide browser chrome based on the whitelist
|
// Show or hide browser chrome based on the whitelist
|
||||||
|
Loading…
Reference in New Issue
Block a user