1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Don't check row while selecting text

This commit is contained in:
Jakub Vrana
2012-03-05 22:12:47 -08:00
parent 4cc29e0137
commit 2ca26386c2
2 changed files with 2 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ function formChecked(el, name) {
* @param MouseEvent
*/
function tableClick(event) {
var click = true;
var click = (!window.getSelection || getSelection().isCollapsed);
var el = event.target || event.srcElement;
while (!/^tr$/i.test(el.tagName)) {
if (/^table$/i.test(el.tagName)) {