From 6b31a3e59aa7030cff096df71415c20870dbace8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Mon, 10 Feb 2014 19:26:30 +0000 Subject: [PATCH] Reset favico on unloading. Should resolve bookmark favicon issue. See https://github.com/ejci/favico.js/issues/23 for detail --- js/glowingbear.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/glowingbear.js b/js/glowingbear.js index c7815ed..4d4af04 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -715,6 +715,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', // Prevent user from accidentally leaving the page window.onbeforeunload = function(event) { event.preventDefault(); + $scope.favico.reset(); }; }]