From 6462ea8b76344371f7a132aa8c3301118ef3dd7d Mon Sep 17 00:00:00 2001 From: Bhsd <55071315+bhsd-harry@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:37:39 +0800 Subject: [PATCH] fix(quickEdit): conform to formatversion=2 (#249) pageData.watched is always there as a boolean --- src/module/quickEdit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/quickEdit.js b/src/module/quickEdit.js index 6915235..260a2a4 100644 --- a/src/module/quickEdit.js +++ b/src/module/quickEdit.js @@ -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') }