diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-28 14:07:13 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-28 14:07:13 -0800 |
commit | 96a113d70d888cb23b060e24be5347060c88ff06 (patch) | |
tree | 27b0e216aec75d41d37044e568737048e3db88b5 /options.js | |
parent | 1522c50e3ea420281bcc33b2bed7b4f297a4ba96 (diff) | |
download | tempo-96a113d70d888cb23b060e24be5347060c88ff06.tar.gz tempo-96a113d70d888cb23b060e24be5347060c88ff06.tar.xz |
Improved save notification.
Diffstat (limited to 'options.js')
-rw-r--r-- | options.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |