@@ -271,7 +271,7 @@ <h4 class="modal-title text-center" id="metaModalLabel">{{_('Fetch Metadata')}}<
271271 alt = "Cover"
272272 >
273273 < div class = "image-dimensions" > </ div >
274- < input type = "checkbox" data - meta - index = "<%= index %>" data - meta - value = "cover" >
274+ < input type = "checkbox" data - meta - index = "<%= index %>" data - meta - value = "cover" checked >
275275 < / div >
276276 < button class = "btn btn-default" > Save</ button >
277277 < div > < a class = "meta_source" href = "<%= book.source.link %>" target = "_blank" rel = "noopener" > < %= book . source . description % > </ a > </ div >
@@ -280,38 +280,38 @@ <h4 class="modal-title text-center" id="metaModalLabel">{{_('Fetch Metadata')}}<
280280 < % } % >
281281 </ div >
282282 < dl class = "media-body" >
283- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "title" > Title:</ dt >
283+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "title" checked > Title:</ dt >
284284 < dd > < a class = "meta_title" href = "<%= book.url %>" target = "_blank" rel = "noopener" > < %= book . title % > </ a > </ dd >
285- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "authors" > Author:</ dt >
285+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "authors" checked > Author:</ dt >
286286 < dd class = "meta_author" > < %= book . authors . join ( " & ") % > </ dd >
287287 < % if ( book . publisher ) { % >
288- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "publisher" > Publisher:</ dt >
288+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "publisher" checked > Publisher:</ dt >
289289 < dd class = "meta_publisher" > < %= book . publisher % > </ dd >
290290 < % } % >
291291 < % if ( book . publishedDate ) { % >
292- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "pubDate" > Published Date:</ dt >
292+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "pubDate" checked > Published Date:</ dt >
293293 < dd class = "meta_publishedDate" > < %= book . publishedDate % > </ dd >
294294 < % } % >
295295 < % if ( book . series ) { % >
296- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "series" > Series:</ dt >
296+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "series" checked > Series:</ dt >
297297 < dd class = "meta_publishedDate" > < %= book . series % > </ dd >
298298 < % } % >
299299 < % if ( book . series_index ) { % >
300- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "seriesIndex" > Series Index:</ dt >
300+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "seriesIndex" checked > Series Index:</ dt >
301301 < dd class = "meta_publishedDate" > < %= book . series_index % > </ dd >
302302 < % } % >
303303 < % if ( book . description ) { % >
304- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "description" > Description:</ dt >
304+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "description" checked > Description:</ dt >
305305 < dd class = "meta_description" > < %= book . description % > </ dd >
306306 < % } % >
307307 < % if ( book . tags . length !== 0 ) { % >
308- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "tags" > Tags:</ dt >
308+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "tags" checked > Tags:</ dt >
309309 < dd class = "meta_author" > < %= book . tags . join ( ", ") % > </ dd >
310310 < % } % >
311311 < % if ( Object . keys ( book . identifiers ) . length !== 0 ) { % >
312312 < % for ( const key in book . identifiers ) { % >
313313 < % if ( book . identifiers [ key ] !== "") { % >
314- < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "<%= key %>" > Identifier</ dt >
314+ < dt > < input type = "checkbox" data-meta-index = "<%= index %>" data-meta-value = "<%= key %>" checked > Identifier</ dt >
315315 < dd class = "meta_identifier" > < %= key % > :< %= book . identifiers [ key ] % >
316316 < % if ( key = == "hardcover-id " && ! document . getElementById ( "keyword ") . value . includes ( "hardcover-id ") ) { % >
317317 < a href = "#" data-hardcover-id = "<%= book.identifiers[key] %>" > < span class = "glyphicon glyphicon-search" style = "padding-left: 10px; padding-right: 6px;" > </ span > Editions</ a >
0 commit comments