Skip to content

Fix accidental page watching when setting missing

Chlod Alejandro requested to merge closingbracket-fix-watch into master

Fix issue reported on the RedWarn talk page (point 2). For some reason, it seems the rwWatchTime property of rw.config would be undefined if the setting had not yet been changed - perhaps this is indicative of a larger issue with config? This patch will just check that the property exists on rw.config before watching the page.

Sorry that I haven't opened an issue here for this - if you'd like me to, I'll happily oblige.

Merge request reports