This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
zulip
mirror of
https://github.com/zulip/zulip.git
Watch
1
Star
0
Fork
You've already forked zulip
0
Code
Issues
Projects
Releases
Wiki
Activity
06691e1e45
zulip
/
static
/
js
/
favicon.js
7 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Move favicon-related functions to favicon.js util.reset_favicon -> favicon.reset util.set_favicon -> favicon.set (imported from commit 250848ec5dc7ac58649197c8cc4b7b4e7b19f25c)
2014-03-13 17:44:43 +01:00
exports
.
set
=
function
(
url
)
{
favicon: Remove ancient browser workarounds. Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-07-15 22:55:22 +02:00
$
(
'#favicon'
)
.
attr
(
'href'
,
url
)
;
Move favicon-related functions to favicon.js util.reset_favicon -> favicon.reset util.set_favicon -> favicon.set (imported from commit 250848ec5dc7ac58649197c8cc4b7b4e7b19f25c)
2014-03-13 17:44:43 +01:00
}
;
js: Purge useless IIFEs. With webpack, variables declared in each file are already file-local (Global variables need to be explicitly exported), so these IIFEs are no longer needed. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-10-25 09:45:13 +02:00
window
.
favicon
=
exports
;