Commit a49bff70 authored by techird's avatar techird

fix mouseup outside

parent b193204d
......@@ -34,7 +34,7 @@
<link href="favicon.ico" type="image/x-icon" rel="apple-touch-icon-precomposed">
</head>
<body>
<body onselectstart="return false">
<div id="content-wrapper">
<div id="panel"></div>
......
......@@ -98,6 +98,11 @@ KityMinder.registerModule('Select', function() {
var lastDownNode = null, lastDownPosition = null;
return {
'init': function() {
window.addEventListener('mouseup', function() {
marqueeActivator.selectEnd();
});
},
'events': {
'normal.mousedown textedit.mousedown inputready.mousedown': function(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment