MCPcopy Index your code
hub / github.com/ollm/OpenComic / activeBookmark

Function activeBookmark

scripts/reading.js:3492–3498  ·  view source on GitHub ↗
(active = false)

Source from the content-addressed store, hash-verified

3490
3491//Change the bookmark icon
3492function activeBookmark(active = false)
3493{
3494 if(active)
3495 template.barHeader('.button-bookmark').addClass('fill').attr('hover-text', language.reading.removeBookmark);
3496 else
3497 template.barHeader('.button-bookmark').removeClass('fill').attr('hover-text', language.reading.addBookmark);
3498}
3499
3500//Check if a path is a bookmarks
3501function isBookmark(path, _return = false)

Callers 2

isBookmarkFunction · 0.85
createAndDeleteBookmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected