mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: routeToTag mini-fix for IE11
skip "a.host" for IE11 since IE11 does not support URL interface
This commit is contained in:
parent
fdfb7ed764
commit
4f6ca66df5
@ -158,7 +158,7 @@ const DiscourseURL = Ember.Object.extend({
|
||||
return false;
|
||||
}
|
||||
|
||||
if (a.host !== document.location.host) {
|
||||
if (a.host && a.host !== document.location.host) {
|
||||
document.location = a.href;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user