From 9bf8488f68aacbe8ad5937b002fff97ec79c33b5 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 13 Feb 2015 09:59:34 +0100 Subject: [PATCH] js: Remove out-commented function hrefIsHashtag from events.js --- public/js/icinga/events.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/js/icinga/events.js b/public/js/icinga/events.js index 57c365649..528899dcb 100644 --- a/public/js/icinga/events.js +++ b/public/js/icinga/events.js @@ -517,14 +517,6 @@ return $target; }, - /* - hrefIsHashtag: function(href) { - // WARNING: IE gives full URL :( - // Also it doesn't support negativ indexes in substr - return href.substr(href.length - 1, 1) == '#'; - }, - */ - unbindGlobalHandlers: function () { $.each(self.icinga.behaviors, function (name, behavior) { behavior.unbind($(document));