override states aren't undefined
This commit is contained in:
parent
04bf5e2ba7
commit
95aedb9542
1 changed files with 1 additions and 1 deletions
2
scripts/external/watch.js
vendored
2
scripts/external/watch.js
vendored
|
@ -16,7 +16,7 @@ export default class watch {
|
|||
*/
|
||||
static async process(filter, options = {}) {
|
||||
document.onreadystatechange = async () => {
|
||||
if (document.readyState == 'complete' && (await global.read([`settings`, `behavior`, `autoRun`]) || ((typeof options).includes(`object`) && options) ? options[`override`] : false)) {
|
||||
if (document.readyState == 'complete' && (await global.read([`settings`, `behavior`, `autoRun`]) || ((((typeof options).includes(`object`) && options) ? Object.hasOwn(options, `override`) : false) ? options[`override`] : false))) {
|
||||
new logging((new texts(`scrape_msg_ready`)).localized);
|
||||
this.processed = (((options && typeof options == `object`) ? options[`override`] : false) || this.processed == null) ? new processor(filter) : this.processed;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue