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 {
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();
}
}
}
});