Permalink
Browse files

Don't check row while selecting text

  • Loading branch information...
1 parent 4cc29e0 commit 2ca26386c21ed4802a0aeea20805f6f1e6ea50ac @vrana committed Mar 6, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 adminer/static/functions.js
  2. +1 −0 changes.txt
@@ -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)) {
View
@@ -8,6 +8,7 @@ Error message with no response from server in AJAX
Esc to cancel AJAX request
Move AJAX loading indicator to the right
Don't quote bit type in export
+Don't check row while selecting text
Ability to disable export (customization)
Extensible list of databases (customization)
MySQL: set autocommit after connect

0 comments on commit 2ca2638

Please sign in to comment.