Reset favico on unloading. Should resolve bookmark favicon issue.

See https://github.com/ejci/favico.js/issues/23 for detail
with-route-provider
Lorenz Hübschle-Schneider 12 years ago
parent 0107dabb2d
commit 6b31a3e59a
  1. 1
      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();
};
}]

Loading…
Cancel
Save