Reset favico on unloading. Should resolve bookmark favicon issue.
See https://github.com/ejci/favico.js/issues/23 for detail
This commit is contained in:
parent
0107dabb2d
commit
6b31a3e59a
|
@ -715,6 +715,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
// Prevent user from accidentally leaving the page
|
// Prevent user from accidentally leaving the page
|
||||||
window.onbeforeunload = function(event) {
|
window.onbeforeunload = function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
$scope.favico.reset();
|
||||||
};
|
};
|
||||||
|
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in New Issue