mirror of
https://github.com/discourse/discourse.git
synced 2026-08-10 04:58:31 -05:00
FIX: routeToTag mini-fix for IE11
skip "a.host" for IE11 since IE11 does not support URL interface
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user