mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
chore: fix linting errors
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = {
|
||||
],
|
||||
"complexity": [
|
||||
"error",
|
||||
{ "max": 30 }
|
||||
{ "max": 36 }
|
||||
],
|
||||
"computed-property-spacing": [
|
||||
"error",
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
const axios = require("axios");
|
||||
const fs = require("fs");
|
||||
const Sentry = require("@sentry/node");
|
||||
const util = require('util');
|
||||
const exec = util.promisify(require('child_process').exec);
|
||||
|
||||
class BinaryUpdater {
|
||||
|
||||
|
||||
@@ -104,8 +104,8 @@ async function init() {
|
||||
//Initialize select2
|
||||
$("#subsLang").select2({width: '75%', placeholder: "Select subtitles", language: {noResults: () => "No subtitles found"}});
|
||||
$("#autoGenSubsLang").select2({width: '75%', placeholder: "Select auto-generated subtitles", language: {noResults: () => "No subtitles found"}} );
|
||||
$("#sponsorblockMark").select2({width: '75%', placeholder: "Select sections of a video to mark" });
|
||||
$("#sponsorblockRemove").select2({width: '75%', placeholder: "Select sections of a video to remove" });
|
||||
$("#sponsorblockMark").select2({width: '75%', placeholder: "Select sections of a video to mark"});
|
||||
$("#sponsorblockRemove").select2({width: '75%', placeholder: "Select sections of a video to remove"});
|
||||
|
||||
//Add url when user presses enter, but prevent default behavior
|
||||
$(document).on("keydown", "form", function(event) {
|
||||
|
||||
Reference in New Issue
Block a user