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