aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-20 01:13:19 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-20 01:13:19 -0700
commit177a6d7f79f5e237eb6d0811e8e28732a4c90d03 (patch)
tree8dc94921d49cb6c0d46514f3bd7fcb50b67a2fd9 /include/main.js
parente583ba0bff7e506aadd2c50dd73f45b69ed4e58f (diff)
downloadvolse-hubzilla-177a6d7f79f5e237eb6d0811e8e28732a4c90d03.tar.gz
volse-hubzilla-177a6d7f79f5e237eb6d0811e8e28732a4c90d03.tar.bz2
volse-hubzilla-177a6d7f79f5e237eb6d0811e8e28732a4c90d03.zip
provide visual indicator when pausing ajax updates
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/main.js b/include/main.js
index cc44db5d4..645170b41 100644
--- a/include/main.js
+++ b/include/main.js
@@ -46,10 +46,17 @@
$(document).keypress(function(event) {
if(event.keyCode == '19') {
event.preventDefault();
- if(stopped == false)
+ if(stopped == false) {
stopped = true;
+ $('#pause img').attr('src','images/pause.gif');
+ $('#pause img').css({'border': '1px solid black'});
+
+ }
else {
stopped = false;
+ $('#pause img').attr('src','');
+ $('#pause img').css({'border': 'none'});
+
}
}
});