summaryrefslogtreecommitdiff
path: root/options.js
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-28 14:07:13 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-28 14:07:13 -0800
commit96a113d70d888cb23b060e24be5347060c88ff06 (patch)
tree27b0e216aec75d41d37044e568737048e3db88b5 /options.js
parent1522c50e3ea420281bcc33b2bed7b4f297a4ba96 (diff)
downloadtempo-96a113d70d888cb23b060e24be5347060c88ff06.tar.gz
tempo-96a113d70d888cb23b060e24be5347060c88ff06.tar.xz
Improved save notification.
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 = '&nbsp;'}, 1000);
+ setTimeout(function() {status.style['visibility'] = 'hidden'}, 2000);
}
function restoreOptions() {