Skip to content

Commit

Permalink
fix(quickEdit): conform to formatversion=2 (#249)
Browse files Browse the repository at this point in the history
pageData.watched is always there as a boolean
  • Loading branch information
bhsd-harry authored Jan 11, 2024
1 parent 2cd6804 commit 6462ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/quickEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export function quickEdit(options) {
$optionsLabel
.find('.watchList')
.prop('disabled', false)
.prop('checked', 'watched' in pageData)
.prop('checked', pageData.watched)
.off('click')
.removeAttr('title')
}
Expand Down

0 comments on commit 6462ea8

Please sign in to comment.