mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
Fix inline edit in IE8 (thanks to kozotoc)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user