Permalink
Browse files

delete stop eventlistener

  • Loading branch information...
1 parent f80d888 commit 6d4bb1747d635e1fc9cf1e8ea82dd663e991466e @vestige committed Oct 17, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 Resources/app.js
View
@@ -116,7 +116,6 @@ function update () {
qa.font = {fontSize: '100%'};
qa.text = 'はくしゅ!';
count.text = "888888";
- pause = 0;
} else {
if (total == remain) {
contents.backgroundColor = '#777';
@@ -186,7 +185,7 @@ function timeForward(){
};
start.addEventListener('click', function () {
- if (total === 0) return;
+ if (total <= 0) return;
if (init === 1) {
init = 0;
timeForward();
@@ -199,11 +198,6 @@ start.addEventListener('click', function () {
}
});
-stop.addEventListener('click', function () {
- clearTimeout(timer_id);
- pause = 1;
-});
-
timer_option.addEventListener('click', function(e){
switch (e.index) {
case 0:

0 comments on commit 6d4bb17

Please sign in to comment.