mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
Add eslint ignore.
This commit is contained in:
parent
0ba7676e97
commit
03b374a1d8
@ -13,6 +13,7 @@ import { post, hook, doNotTrack } from '../lib/web';
|
||||
|
||||
const script = document.querySelector('script[data-website-id]');
|
||||
|
||||
// eslint-disable-next-line no-undef
|
||||
if (!script || (__DNT__ && doNotTrack())) return;
|
||||
|
||||
const website = script.getAttribute('data-website-id');
|
||||
|
Loading…
Reference in New Issue
Block a user