summaryrefslogtreecommitdiff
path: root/options.js
diff options
context:
space:
mode:
Diffstat (limited to 'options.js')
-rw-r--r--options.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.js b/options.js
index fd930c7..0c640b4 100644
--- a/options.js
+++ b/options.js
@@ -11,9 +11,9 @@ function saveOptions() {
localStorage['timeformat'] = timeformat;
var status = document.getElementById('status');
- status.innerHTML = 'Options saved.';
+ status.style['visibility'] = 'visible';
- setTimeout(function() {status.innerHTML = ' '}, 1000);
+ setTimeout(function() {status.style['visibility'] = 'hidden'}, 2000);
}
function restoreOptions() {