Skip to content

Commit

Permalink
History menu: changed restore icon and message to better align to the…
Browse files Browse the repository at this point in the history
… behaviour
  • Loading branch information
ReDEnergy committed Apr 21, 2018
1 parent 2ae4e65 commit 26e1784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/scripts/session-sync-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ define(function(require, exports) {

var HSM = new ContextMenu(document, {name : 'HistorySessionCtxMenu', width: 155});
HSM.addMenuEntry({value: 'Save', event: 'Save', icon: 'heart'});
HSM.addMenuEntry({value: 'Restore', event: 'Restore', icon: 'new-window'});
HSM.addMenuEntry({value: 'Restore (new window)', event: 'Restore', icon: 'new-window'});
HSM.addMenuEntry({value: 'Delete', callback: confirmDeleteOne, icon: 'delete', separator: 'top'});
content.appendChild(HSM.DOMRoot);

Expand Down
2 changes: 1 addition & 1 deletion data/session-sync.css
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@
}

#session-sync[session="history"] .session-toolbar .menu-bar .save,
#session-sync[session="history"] .session-toolbar .menu-bar .restore {
#session-sync[session="history"] .session-toolbar .menu-bar .restore-new-win {
display: block;
}

Expand Down
2 changes: 1 addition & 1 deletion dev/css/session-toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
}

#session-sync[session="history"] .session-toolbar .menu-bar .save,
#session-sync[session="history"] .session-toolbar .menu-bar .restore {
#session-sync[session="history"] .session-toolbar .menu-bar .restore-new-win {
display: block;
}

Expand Down

0 comments on commit 26e1784

Please sign in to comment.