From 4f6ca66df5e1ca242ff4a254f310f98fcf8e8c1b Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Fri, 28 Dec 2018 11:49:51 -0500 Subject: [PATCH] FIX: routeToTag mini-fix for IE11 skip "a.host" for IE11 since IE11 does not support URL interface --- app/assets/javascripts/discourse/lib/url.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/url.js.es6 b/app/assets/javascripts/discourse/lib/url.js.es6 index e7f46eb8709..d26dffa7b90 100644 --- a/app/assets/javascripts/discourse/lib/url.js.es6 +++ b/app/assets/javascripts/discourse/lib/url.js.es6 @@ -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; }