Skip to content
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.

Commit

Permalink
Disable export button when 0 tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
athyuttamre committed Dec 14, 2014
1 parent 184e6ee commit e71b5f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions options/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ function clearAll() {
});

$("#clear-all").prop('disabled', true);
$("#export-tabs").prop('disabled', true);
}
}

Expand Down Expand Up @@ -358,6 +359,7 @@ function clearEntry(tab, entry) {

if(snoozedTabs["tabCount"] == 0) {
$("#clear-all").prop('disabled', true);
$("#export-tabs").prop('disabled', true);
}
}

Expand Down

0 comments on commit e71b5f9

Please sign in to comment.