Skip to content

Commit

Permalink
Fix inline edit in IE8 (thanks to kozotoc)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Feb 8, 2011
1 parent 3eba731 commit ad279e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/static/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ function selectDblClick(td, event, text) {
}
if (document.selection) {
var range = document.selection.createRange();
range.moveToPoint(event.x, event.y);
range.moveToPoint(event.clientX, event.clientY);
var range2 = range.duplicate();
range2.moveToElementText(td);
range2.setEndPoint('EndToEnd', range);
Expand Down

0 comments on commit ad279e1

Please sign in to comment.