aboutsummaryrefslogtreecommitdiff
path: root/js/panels/resize-composer.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-07 15:33:50 -0700
committerValerio Virgillito2012-06-07 15:33:50 -0700
commit4070475b8da7257eca629be7288bf7a31d5e384e (patch)
treec8fa04878685c2b7fd3bb4a403017cbf42014355 /js/panels/resize-composer.js
parentb75fe9369f7caec0351d298f7106c8d59572b440 (diff)
downloadninja-4070475b8da7257eca629be7288bf7a31d5e384e.tar.gz
IKNINJA-1702: Fix the timeline resized throwing a debugger error
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/resize-composer.js')
-rw-r--r--js/panels/resize-composer.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/resize-composer.js b/js/panels/resize-composer.js
index 0d1774cd..57126690 100644
--- a/js/panels/resize-composer.js
+++ b/js/panels/resize-composer.js
@@ -105,6 +105,8 @@ exports.ResizeComposer = Montage.create(Composer, {
105 captureMouseup: { 105 captureMouseup: {
106 value: function(e) { 106 value: function(e) {
107 e.preventDefault(); 107 e.preventDefault();
108 e.stopImmediatePropagation();
109 e.stopPropagation();
108 window.removeEventListener("mousemove", this, true); 110 window.removeEventListener("mousemove", this, true);
109 window.removeEventListener("mouseup", this, true); 111 window.removeEventListener("mouseup", this, true);
110 this._executeEvent("resizeEnd"); 112 this._executeEvent("resizeEnd");