pad: Use window. to avoid ESLint error

This commit is contained in:
Richard Hansen 2021-10-28 15:15:05 -04:00
parent d8ca3a693d
commit e974622561

View file

@ -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.