mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
pad: Use window.
to avoid ESLint error
This commit is contained in:
parent
d8ca3a693d
commit
e974622561
1 changed files with 1 additions and 2 deletions
|
@ -434,8 +434,7 @@ const pad = {
|
|||
padutils.setupGlobalExceptionHandler();
|
||||
|
||||
$(document).ready(() => {
|
||||
// start the custom js
|
||||
if (typeof customStart === 'function') customStart(); // eslint-disable-line no-undef
|
||||
if (window.customStart != null) window.customStart();
|
||||
handshake();
|
||||
|
||||
// To use etherpad you have to allow cookies.
|
||||
|
|
Loading…
Reference in a new issue