mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Using bsSwitch instead of switch to remove jslint errors
This commit is contained in:
@@ -10,7 +10,7 @@ define([
|
||||
className: 'form-horizontal',
|
||||
|
||||
ui: {
|
||||
switch : '.switch',
|
||||
bsSwitch : '.switch',
|
||||
tooltip : '.help-inline i',
|
||||
pathInput : '.x-path',
|
||||
sabConfig : '.x-sab-config',
|
||||
@@ -25,7 +25,7 @@ define([
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
this.ui.switch.bootstrapSwitch();
|
||||
this.ui.bsSwitch.bootstrapSwitch();
|
||||
this.ui.tooltip.tooltip({ placement: 'right', html: true });
|
||||
this.ui.pathInput.autoComplete('/directories');
|
||||
|
||||
|
Reference in New Issue
Block a user