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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user