Fix eslint

2bc503ec00e1164986080e97fd32d349de4e48ce

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -7Showing whitespace changes
public/scripts/RossAscends-mods.js+1 -7
@@ -480,8 +480,7 @@ export function dragElement($elmnt) {
480480
481 let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;481 let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
482 let height, width, top, left, right, bottom,482 let height, width, top, left, right, bottom,
483 maxX, maxY, winHeight, winWidth,483 maxX, maxY, winHeight, winWidth;
484 topbar;
485484
486 const elmntName = $elmnt.attr('id');485 const elmntName = $elmnt.attr('id');
487 const elmntNameEscaped = $.escapeSelector(elmntName);486 const elmntNameEscaped = $.escapeSelector(elmntName);
@@ -540,11 +539,6 @@ export function dragElement($elmnt) {
540 winWidth = window.innerWidth;539 winWidth = window.innerWidth;
541 winHeight = window.innerHeight;540 winHeight = window.innerHeight;
542541
543 topbar = document.getElementById('top-bar');
544 const topbarstyle = getComputedStyle(topbar);
545 topBarFirstX = parseInt(topbarstyle.marginInline);
546 topBarLastY = parseInt(topbarstyle.height);
547
548 // Prepare state object if missing542 // Prepare state object if missing
549 if (!power_user.movingUIState[elmntName]) power_user.movingUIState[elmntName] = {};543 if (!power_user.movingUIState[elmntName]) power_user.movingUIState[elmntName] = {};
550544