FIX: routeToTag mini-fix for IE11

skip "a.host" for IE11 since IE11 does not support URL interface
This commit is contained in:
Penar Musaraj 2018-12-28 11:49:51 -05:00
parent fdfb7ed764
commit 4f6ca66df5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}