diff --git a/themes/webkit/index.html b/themes/webkit/index.html index b0cb0d4..2e14365 100644 --- a/themes/webkit/index.html +++ b/themes/webkit/index.html @@ -18,7 +18,8 @@ td password_prompt = false; selected_user = null; -time_remaining = 0 +time_remaining = 0; +lightdm = lightdm || {}; function show_prompt(text) { @@ -74,13 +75,13 @@ function reset() password_prompt = false; } -loading_text = '' +loading_text = ''; function throbber() { loading_text += '.'; if (loading_text == '....') - loading_text = '.' + loading_text = '.'; label = document.getElementById('countdown_label'); label.innerHTML = loading_text; setTimeout('throbber()', 1000); @@ -126,7 +127,7 @@ function provide_secret() function countdown() { label = document.getElementById('countdown_label'); - label.innerHTML = ' in ' + time_remaining + ' seconds' + label.innerHTML = ' in ' + time_remaining + ' seconds'; time_remaining--; if (time_remaining >= 0) setTimeout('countdown()', 1000); @@ -138,9 +139,9 @@ for (i in lightdm.users) user = lightdm.users[i]; if (user.image.length > 0) - image = user.image + image = user.image; else - image = 'file:///usr/share/icons/gnome/32x32/stock/generic/stock_person.png' + image = 'file:///usr/share/icons/gnome/32x32/stock/generic/stock_person.png'; document.write('