diff --git a/Merger.js b/Merger.js index e292415..bbf54dc 100644 --- a/Merger.js +++ b/Merger.js @@ -828,7 +828,8 @@ this._textNode.textContent = title; }, onmousedown: function (e) { - //this.parentControl.bringToFront(); + if (e.offsetY < 1) + return; DragNDrop.drag(this.parentControl, e.offsetX, e.offsetY); }, onmouseup: function (e) { diff --git a/WebInquirer.html b/WebInquirer.html index d617a0d..7842f29 100644 --- a/WebInquirer.html +++ b/WebInquirer.html @@ -1,4 +1,5 @@ + inquirer Tester @@ -34,6 +35,9 @@ rimg.style.height = ri.h * isiz; rimg.style.display = isiz === 0 ? "none" : ""; } + function doException() { + throw new Error("Error test"); + }