mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:36:38 +02: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 {
|
} else {
|
||||||
for (var i = 0; i < elShapeSections.length; i++) {
|
for (var i = 0; i < elShapeSections.length; i++) {
|
||||||
console.log("Hiding shape section " + elShapeSections[i])
|
|
||||||
elShapeSections[i].style.display = 'none';
|
elShapeSections[i].style.display = 'none';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -805,8 +804,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var activeElement = document.activeElement;
|
var activeElement = document.activeElement;
|
||||||
|
|
||||||
activeElement.select();
|
if(typeof activeElement.select!=="undefined"){
|
||||||
|
activeElement.select();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue