diff --git a/jtoolbar.js b/jtoolbar.js index 308f09b..5fab476 100644 --- a/jtoolbar.js +++ b/jtoolbar.js @@ -1313,11 +1313,6 @@ var JTB = function() { return; } - /* don't popout children toolbars based on the regular criteria */ - if(this.isChildToolbar()) { - return; - } - /* determine the max deviation from the top-left corner of the toolbar */ var vis = (this.getState() == JTB.STATE_VIS); var maxdx, maxdy; @@ -1365,8 +1360,20 @@ var JTB = function() { y = this.floaty; } - /* display the toolbar iff the mouse is within the maximum deviation */ - this.setVisible(mouseX>=x && mouseX=y && mouseY=x && mouseX=y && mouseY