parent
c9176ba882
commit
c97f2776bc
@ -1,11 +1,5 @@ |
||||
/* globals isFirefox */ |
||||
|
||||
Template.icon.helpers({ |
||||
baseUrl() { |
||||
if (isFirefox) { |
||||
return window.location.href.replace(window.location.hash, ''); |
||||
} |
||||
const baseUrl = isFirefox ? () => { FlowRouter.watchPathChange(); return `${ window.location.origin }${ FlowRouter.current().path }`; } : () => ''; |
||||
|
||||
return ''; |
||||
} |
||||
}); |
||||
Template.icon.helpers({ baseUrl }); |
||||
|
Loading…
Reference in new issue