Merge pull request #8086 from imgntn/activeElement

Fix some edit.js errors and log messages
This commit is contained in:
Brad Hefta-Gaub 2016-06-16 18:25:20 -07:00 committed by GitHub
commit 99a0804429

View file

@ -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';
} }
} }
@ -806,7 +805,9 @@
var activeElement = document.activeElement; var activeElement = document.activeElement;
activeElement.select(); if(typeof activeElement.select!=="undefined"){
activeElement.select();
}
} }
} }
}); });