aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
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'});
+
}
}
});