Skip to content

Commit

Permalink
changed close operation to click fixes #205
Browse files Browse the repository at this point in the history
  • Loading branch information
flouc001 authored Aug 3, 2017
1 parent cf63f45 commit ea7171c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ide.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ D.IDE=function(){'use strict'
var id=x.contentItem.config.componentState.id,cls=x.closeElement
if(id){
x.middleClick=function(){var w=ide.wins[id];w.EP(w.cm);}
cls.off('click').mousedown(function(){
cls.off('click').click(function(){
var w=ide.wins[id];w.EP(w.cm)
})
}
Expand Down

0 comments on commit ea7171c

Please sign in to comment.