mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 304386 Doubled separator on broken image context menu r=iann sr=jag
This commit is contained in:
parent
85ee3ddb51
commit
eab6b68ac1
@ -169,7 +169,7 @@ nsContextMenu.prototype = {
|
||||
var isWin = navigator.appVersion.indexOf("Windows") != -1;
|
||||
this.showItem( "context-setWallpaper", isWin && (this.onLoadedImage || this.onStandaloneImage));
|
||||
|
||||
this.showItem( "context-sep-image", this.onImage || this.onStandaloneImage);
|
||||
this.showItem( "context-sep-image", this.onLoadedImage || this.onStandaloneImage);
|
||||
|
||||
if( isWin && this.onLoadedImage )
|
||||
// Disable the Set As Wallpaper menu item if we're still trying to load the image
|
||||
|
Loading…
x
Reference in New Issue
Block a user