From 079008b24350a2b957824b8aa0e0d427d66ba906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 8 May 2011 21:46:49 +0100 Subject: [PATCH] Code clean up. --- src/tool/ToolEvent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tool/ToolEvent.js b/src/tool/ToolEvent.js index 08117090..31cfca86 100644 --- a/src/tool/ToolEvent.js +++ b/src/tool/ToolEvent.js @@ -158,8 +158,8 @@ var ToolEvent = this.ToolEvent = Base.extend({ // Return downCount for both mouse down and up, since // the count is the same. return /^mouse(down|up)$/.test(this.type) - ? this.tool.downCount - : this.tool.count; + ? this.tool.downCount + : this.tool.count; }, setCount: function(count) {