mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Fix prefer-global-this error
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -677,7 +677,7 @@ $(function () {
|
||||
var tr = $(this);
|
||||
var row = table.row(tr);
|
||||
|
||||
if (window.getSelection().toString().length > 0) {
|
||||
if (globalThis.getSelection().toString().length > 0) {
|
||||
// This event was triggered by a selection, so don't open the row
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user