Merge pull request #131 from lorenzhs/fixfavico
Reset favico on unloading. Should resolve bookmark favicon issue.
This commit is contained in:
commit
69bd30d509
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue