Skip to content

Commit ea7171c

Browse files
authored
changed close operation to click fixes #205
1 parent cf63f45 commit ea7171c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ D.IDE=function(){'use strict'
339339
var id=x.contentItem.config.componentState.id,cls=x.closeElement
340340
if(id){
341341
x.middleClick=function(){var w=ide.wins[id];w.EP(w.cm);}
342-
cls.off('click').mousedown(function(){
342+
cls.off('click').click(function(){
343343
var w=ide.wins[id];w.EP(w.cm)
344344
})
345345
}

0 commit comments

Comments
 (0)