Bug 304386 Doubled separator on broken image context menu r=iann sr=jag

This commit is contained in:
neil%parkwaycc.co.uk 2005-08-17 16:09:38 +00:00
Родитель 608ebb964c
Коммит 1a3ba6a38e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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