Skip to content
Permalink
Browse files

lint file

$window no longer used in panStart followup on 7877383
  • Loading branch information...
SamSaffron committed Aug 13, 2019
1 parent 7877383 commit 1358339bf9969282e7f7f7c782fad1ac36b483f3
Showing with 0 additions and 1 deletion.
  1. +0 −1 app/assets/javascripts/discourse/components/site-header.js.es6
@@ -108,7 +108,6 @@ const SiteHeaderComponent = MountWidget.extend(Docking, PanEvents, {
panStart(e) {
const center = e.center;
const $centeredElement = $(document.elementFromPoint(center.x, center.y));
const $window = $(window);
if (
($centeredElement.hasClass("panel-body") ||
$centeredElement.hasClass("header-cloak") ||

0 comments on commit 1358339

Please sign in to comment.
You can’t perform that action at this time.