Cleaning up recommended

This commit is contained in:
Jason House
2021-06-03 20:08:15 +09:00
parent 248c2c7129
commit 9dc5f88832
2 changed files with 12 additions and 10 deletions

View File

@@ -12,7 +12,9 @@
/* global Handlebars, SockJS, Stomp */
/* eslint no-undef: "error" */
import { getContextPath, getRecommendedMoviesForTable, getYear, isEqual, isNotOwned } from '../modules/common.min.js';
import {
getContextPath, getRecommendedMoviesForTable, getYear, isEqual, isNotOwned,
} from '../modules/common.min.js';
import Payload from '../modules/payload.min.js';
let libraryTitle;
@@ -218,7 +220,4 @@ jQuery(($) => {
window.copyToClipboard = copyToClipboard;
});
window.onbeforeunload = function () {
disconnect();
// return false;
};
window.onbeforeunload = disconnect;