From d10beb7604875f39d96a9a7dd85af1e065b3237e Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 9 Feb 2015 15:26:55 +0100 Subject: [PATCH] js: no console.log. please! --- public/js/icinga/loader.js | 1 - public/js/icinga/utils.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 6a82a6ee5..92aa1e9d8 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -737,7 +737,6 @@ } this.icinga.ui.assignUniqueContainerIds(); - console.log(origFocus); if (origFocus.length == origFocus[0] !== '') { setTimeout(function() { $(self.icinga.utils.getElementByDomPath(origFocus)).focus(); diff --git a/public/js/icinga/utils.js b/public/js/icinga/utils.js index bd64e586e..4b04b3d44 100644 --- a/public/js/icinga/utils.js +++ b/public/js/icinga/utils.js @@ -284,10 +284,8 @@ if (! $element) { $element = $(selector); } else { - console.log(selector); $element = $element.children(selector).first(); if (! $element[0]) { - console.log("element not existing stopping..."); return false; } }