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
481481 let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
482482 let height, width, top, left, right, bottom,
483483 maxX, maxY, winHeight, winWidth,;
484- topbar;
485484
486485 const elmntName = $elmnt.attr('id');
487486 const elmntNameEscaped = $.escapeSelector(elmntName);
@@ -540,11 +539,6 @@ export function dragElement($elmnt) {
540539 winWidth = window.innerWidth;
541540 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-
548542 // Prepare state object if missing
549543 if (!power_user.movingUIState[elmntName]) power_user.movingUIState[elmntName] = {};
550544