From 96a113d70d888cb23b060e24be5347060c88ff06 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 28 Feb 2014 14:07:13 -0800 Subject: Improved save notification. --- options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options.js') 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() { -- cgit v1.2.3-70-g09d2