revert null checking around interceptClick

revert null checking around interceptClick

diff --git a/app/assets/javascripts/discourse/lib/intercept-click.js.es6 b/app/assets/javascripts/discourse/lib/intercept-click.js.es6
index c4daa17..1fe9999 100644
--- a/app/assets/javascripts/discourse/lib/intercept-click.js.es6
+++ b/app/assets/javascripts/discourse/lib/intercept-click.js.es6
@@ -28,8 +28,8 @@ export default function interceptClick(e) {
     href === "#" ||
     $currentTarget.attr("target") ||
     $currentTarget.data("ember-action") ||
-    $currentTarget.data("auto-route") != null ||
-    $currentTarget.data("share-url") != null ||
+    $currentTarget.data("auto-route") ||
+    $currentTarget.data("share-url") ||
     $currentTarget.hasClass("widget-link") ||
     $currentTarget.hasClass("raw-link") ||
     $currentTarget.hasClass("mention") ||

GitHub sha: 439eff47