From 18c2b82773ad3c5187843d2c63264547a2756fca Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 28 Feb 2017 14:36:59 +0800 Subject: [PATCH] 1 --- game/game.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 02da163a7..588566966 100644 --- a/game/game.js +++ b/game/game.js @@ -32144,13 +32144,19 @@ var node=this.node.name; if(node.offsetHeight=node.scrollHeight){ clearInterval(that.buttonscrollinterval); delete that.buttonscrollinterval; } else{ - node.scrollTop+=2; + if(num>0){ + num--; + } + else{ + node.scrollTop+=2; + } } },16); }