Browse Source

enshort jQuery construction

twisterarmy
ghost 6 months ago
parent
commit
eee3f958c3
  1. 4
      js/interface_home.js

4
js/interface_home.js

@ -345,7 +345,7 @@ function initWebTorrent() {
WEBTORRENT_ANNOUNCE = $.Options.WebTorrentTrackers.val.split(/[ ,]+/) WEBTORRENT_ANNOUNCE = $.Options.WebTorrentTrackers.val.split(/[ ,]+/)
jQuery.ajax({ $.ajax({
crossDomain: true, crossDomain: true,
dataType: 'script', dataType: 'script',
url: 'js/webtorrent.min.js', url: 'js/webtorrent.min.js',
@ -359,7 +359,7 @@ function initWebTorrent() {
console.error('WARNING: ' + err.message); console.error('WARNING: ' + err.message);
}); });
jQuery.ajax({ $.ajax({
crossDomain: true, crossDomain: true,
dataType: 'script', dataType: 'script',
url: 'js/localforage.min.js', url: 'js/localforage.min.js',

Loading…
Cancel
Save