Fix Reset not graying out after resetting note font size

https://forums.zotero.org/discussion/115372/zotero-7-beta-reset-is-not-greyed-when-using-default-note-font-size
This commit is contained in:
Dan Stillman 2024-06-20 03:08:27 -04:00
parent 936044b01f
commit d188857e06

View file

@ -43,7 +43,7 @@ const ZoteroStandalone = new function() {
]; ];
//const NOTE_FONT_SIZES = ["11", "12", "13", "14", "18", "24", "36", "48", "64", "72", "96"]; //const NOTE_FONT_SIZES = ["11", "12", "13", "14", "18", "24", "36", "48", "64", "72", "96"];
const NOTE_FONT_SIZE_DEFAULT = "12"; const NOTE_FONT_SIZE_DEFAULT = "14";
Object.defineProperty(this, 'currentReader', { Object.defineProperty(this, 'currentReader', {
get: () => Zotero.Reader.getByTabID(Zotero_Tabs.selectedID) get: () => Zotero.Reader.getByTabID(Zotero_Tabs.selectedID)