@@ -176,7 +176,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
176176 } ) ;
177177 } ) ;
178178
179- new Setting ( containerEl )
179+ new Setting ( containerEl )
180180 . setName ( 'Moby Games key' )
181181 . setDesc ( 'API key for "www.mobygames.com".' )
182182 . addText ( cb => {
@@ -223,10 +223,10 @@ export class MediaDbSettingTab extends PluginSettingTab {
223223 . setDesc (
224224 fragWithHTML (
225225 "Your custom date format. Use <em>'YYYY-MM-DD'</em> for example.<br>" +
226- "For more syntax, refer to <a href='https://momentjs.com/docs/#/displaying/format/'>format reference</a>.<br>" +
227- "Your current syntax looks like this: <b><a id='media-db-dateformat-preview' style='pointer-events: none; cursor: default; text-decoration: none;'>" +
228- this . plugin . dateFormatter . getPreview ( ) +
229- '</a></b>' ,
226+ "For more syntax, refer to <a href='https://momentjs.com/docs/#/displaying/format/'>format reference</a>.<br>" +
227+ "Your current syntax looks like this: <b><a id='media-db-dateformat-preview' style='pointer-events: none; cursor: default; text-decoration: none;'>" +
228+ this . plugin . dateFormatter . getPreview ( ) +
229+ '</a></b>' ,
230230 ) ,
231231 )
232232 . addText ( cb => {
@@ -278,23 +278,23 @@ export class MediaDbSettingTab extends PluginSettingTab {
278278 containerEl . createEl ( 'h3' , { text : 'APIs Per Media Type' } ) ;
279279 containerEl . createEl ( 'h5' , { text : 'Movies' } ) ;
280280 new Setting ( containerEl )
281- . setName ( 'OMDb API' )
282- . setDesc ( 'Use OMDb API for movies.' )
283- . addToggle ( cb => {
284- cb . setValue ( this . plugin . settings . OMDbAPImovie ) . onChange ( data => {
285- this . plugin . settings . OMDbAPImovie = data ;
286- this . plugin . saveSettings ( ) ;
281+ . setName ( 'OMDb API' )
282+ . setDesc ( 'Use OMDb API for movies.' )
283+ . addToggle ( cb => {
284+ cb . setValue ( this . plugin . settings . OMDbAPImovie ) . onChange ( data => {
285+ this . plugin . settings . OMDbAPImovie = data ;
286+ this . plugin . saveSettings ( ) ;
287+ } ) ;
287288 } ) ;
288- } ) ;
289289 new Setting ( containerEl )
290- . setName ( 'MAL API' )
291- . setDesc ( 'Use MAL API for movies.' )
292- . addToggle ( cb => {
293- cb . setValue ( this . plugin . settings . MALAPImovie ) . onChange ( data => {
294- this . plugin . settings . MALAPImovie = data ;
295- this . plugin . saveSettings ( ) ;
290+ . setName ( 'MAL API' )
291+ . setDesc ( 'Use MAL API for movies.' )
292+ . addToggle ( cb => {
293+ cb . setValue ( this . plugin . settings . MALAPImovie ) . onChange ( data => {
294+ this . plugin . settings . MALAPImovie = data ;
295+ this . plugin . saveSettings ( ) ;
296+ } ) ;
296297 } ) ;
297- } ) ;
298298 containerEl . createEl ( 'h5' , { text : 'Series' } ) ;
299299 new Setting ( containerEl )
300300 . setName ( 'OMDb API' )
@@ -305,7 +305,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
305305 this . plugin . saveSettings ( ) ;
306306 } ) ;
307307 } ) ;
308- new Setting ( containerEl )
308+ new Setting ( containerEl )
309309 . setName ( 'MAL API' )
310310 . setDesc ( 'Use MAL API for series.' )
311311 . addToggle ( cb => {
@@ -315,7 +315,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
315315 } ) ;
316316 } ) ;
317317 containerEl . createEl ( 'h5' , { text : 'Games' } ) ;
318- new Setting ( containerEl )
318+ new Setting ( containerEl )
319319 . setName ( 'OMDb API' )
320320 . setDesc ( 'Use OMDb API for games.' )
321321 . addToggle ( cb => {
@@ -324,7 +324,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
324324 this . plugin . saveSettings ( ) ;
325325 } ) ;
326326 } ) ;
327- new Setting ( containerEl )
327+ new Setting ( containerEl )
328328 . setName ( 'Steam API' )
329329 . setDesc ( 'Use OMDb API for games.' )
330330 . addToggle ( cb => {
@@ -333,7 +333,7 @@ export class MediaDbSettingTab extends PluginSettingTab {
333333 this . plugin . saveSettings ( ) ;
334334 } ) ;
335335 } ) ;
336- new Setting ( containerEl )
336+ new Setting ( containerEl )
337337 . setName ( 'MobyGames API' )
338338 . setDesc ( 'Use MobyGames API for games.' )
339339 . addToggle ( cb => {
0 commit comments