Merge pull request #131 from lorenzhs/fixfavico

Reset favico on unloading. Should resolve bookmark favicon issue.
This commit is contained in:
David Cormier 2014-02-10 14:38:15 -05:00
commit 69bd30d509

View file

@ -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();
};
}]