From eee3f958c333400ef578b77e1c577c36ffc5c422 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 2 Jun 2024 08:27:56 +0300 Subject: [PATCH] enshort jQuery construction --- js/interface_home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/interface_home.js b/js/interface_home.js index 68e5576..3e9c9dc 100644 --- a/js/interface_home.js +++ b/js/interface_home.js @@ -345,7 +345,7 @@ function initWebTorrent() { WEBTORRENT_ANNOUNCE = $.Options.WebTorrentTrackers.val.split(/[ ,]+/) - jQuery.ajax({ + $.ajax({ crossDomain: true, dataType: 'script', url: 'js/webtorrent.min.js', @@ -359,7 +359,7 @@ function initWebTorrent() { console.error('WARNING: ' + err.message); }); - jQuery.ajax({ + $.ajax({ crossDomain: true, dataType: 'script', url: 'js/localforage.min.js',