mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-12 08:46:05 +00:00
Use id attribute to query reading progress element (#467)
no issue - using an `id` selector doesn't break if other `progress` elements are present on a page
This commit is contained in:
2
post.hbs
2
post.hbs
@ -143,7 +143,7 @@ $(document).ready(function () {
|
||||
$postContent.fitVids();
|
||||
// End fitVids
|
||||
|
||||
var progressBar = document.querySelector('progress');
|
||||
var progressBar = document.querySelector('#reading-progress');
|
||||
var header = document.querySelector('.floating-header');
|
||||
var title = document.querySelector('.post-full-title');
|
||||
|
||||
|
Reference in New Issue
Block a user