mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #8086 from imgntn/activeElement
Fix some edit.js errors and log messages
This commit is contained in:
commit
99a0804429
1 changed files with 4 additions and 3 deletions
|
@ -671,7 +671,6 @@
|
|||
|
||||
} else {
|
||||
for (var i = 0; i < elShapeSections.length; i++) {
|
||||
console.log("Hiding shape section " + elShapeSections[i])
|
||||
elShapeSections[i].style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
@ -805,8 +804,10 @@
|
|||
}
|
||||
|
||||
var activeElement = document.activeElement;
|
||||
|
||||
activeElement.select();
|
||||
|
||||
if(typeof activeElement.select!=="undefined"){
|
||||
activeElement.select();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue