Open Vadorequest opened 4 years ago
Doc isn't easily understandable and I missed the part where adding the <div id="outdated"></div>
to the DOM, which led to this.
I missed the part where adding the ... to the DOM
Is there a word missing here? Should the doc be improved?
Yeah sorry, HTML got ignored by github, I edited.
Basically, I missed that I had to add <div id="outdated"></div>
in the DOM, and that led to that cryptic error that made me think the package didn't work properly.
I'd suggest make it more obvious in the doc that adding the ID is always necessary, and avoid this error by checking if this id exists in the DOM.
Those are good changes. Can you send a PR?
On Fri, 7 Feb 2020, 14:44 Vadorequest, notifications@github.com wrote:
Yeah sorry, HTML got ignored by github, I edited.
Basically, I missed that I had to add
in the DOM, and that led to that cryptic error that made me think the package didn't work properly.I'd suggest make it more obvious in the doc that adding the ID is always necessary, and avoid this error by checking if this id exists in the DOM.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mikemaccana/outdated-browser-rework/issues/94?email_source=notifications&email_token=AABKEMQFKU3HA2URZEZ74JLRBVXV5A5CNFSM4KQNKVWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDENHY#issuecomment-583419551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABKEMTPWTQPR3JXWVROCZTRBVXV5ANCNFSM4KQNKVWA .
Just tried this package and it fails with this error.