avoid creating conflicts with stylelint PR
This commit is contained in:
parent
feea5e834e
commit
a52c6ed9d7
|
@ -1370,10 +1370,6 @@ function initHooks() {
|
||||||
document.getElementById('lint-help').addEventListener('click', showLintHelp);
|
document.getElementById('lint-help').addEventListener('click', showLintHelp);
|
||||||
document.getElementById('lint').addEventListener('click', gotoLintIssue);
|
document.getElementById('lint').addEventListener('click', gotoLintIssue);
|
||||||
window.addEventListener('resize', resizeLintReport);
|
window.addEventListener('resize', resizeLintReport);
|
||||||
window.addEventListener('load', function _() {
|
|
||||||
window.removeEventListener('load', _);
|
|
||||||
window.addEventListener('resize', () => debounce(rememberWindowSize, 100));
|
|
||||||
});
|
|
||||||
|
|
||||||
// touch devices don't have onHover events so the element we'll be toggled via clicking (touching)
|
// touch devices don't have onHover events so the element we'll be toggled via clicking (touching)
|
||||||
if ('ontouchstart' in document.body) {
|
if ('ontouchstart' in document.body) {
|
||||||
|
@ -1390,6 +1386,11 @@ function initHooks() {
|
||||||
).forEach(e => e.addEventListener('mousedown', toggleContextMenuDelete));
|
).forEach(e => e.addEventListener('mousedown', toggleContextMenuDelete));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.addEventListener('load', function _() {
|
||||||
|
window.removeEventListener('load', _);
|
||||||
|
window.addEventListener('resize', () => debounce(rememberWindowSize, 100));
|
||||||
|
});
|
||||||
|
|
||||||
setupGlobalSearch();
|
setupGlobalSearch();
|
||||||
setCleanGlobal();
|
setCleanGlobal();
|
||||||
updateTitle();
|
updateTitle();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user