Skip to content

Commit

Permalink
Don't code so much
Browse files Browse the repository at this point in the history
  • Loading branch information
Garen Torikian committed May 15, 2012
1 parent 5415ba3 commit 3dba1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins-client/ext.revisions/revisions.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ module.exports = ext.register("ext/revisions/revisions", {
if (caption)
return btnSave.setCaption(caption);

btnSave.$ext.style.display = "block";
btnSave.show();
var page = page || tabEditors.getPage();
if (page) {
var hasChanged = Util.pageHasChanged(page);
Expand Down Expand Up @@ -437,7 +437,7 @@ module.exports = ext.register("ext/revisions/revisions", {

onCloseFile: function(e) {
if (tabEditors.getPages().length == 1)
btnSave.$ext.style.display = "none";
btnSave.hide();
else
this.setSaveButtonCaption(null, e.page);

Expand Down

0 comments on commit 3dba1fe

Please sign in to comment.