Merge pull request #5539 from probins/dom

Remove outdated comments re goog.dom
This commit is contained in:
Andreas Hocevar
2016-07-01 15:07:59 +02:00
committed by GitHub
2 changed files with 0 additions and 3 deletions

View File

@@ -1469,8 +1469,6 @@ ol.Map.createOptionsInternal = function(options) {
*/
var keyboardEventTarget = null;
if (options.keyboardEventTarget !== undefined) {
// cannot use goog.dom.getElement because its argument cannot be
// of type Document
keyboardEventTarget = typeof options.keyboardEventTarget === 'string' ?
document.getElementById(options.keyboardEventTarget) :
options.keyboardEventTarget;