1 | | Replying to [comment:10 ianbelanger]: |
2 | | > Thanks for all of your work on this @Giorgio25b, @bdcstr, @samful, @yuhin and @suzylah. I have just uploaded an updated patch that includes a check to see if the modal is active. After applying @Giorgio25b patch clicking on an anchor link that was not in the modal would throw an error in the console. |
3 | | > |
4 | | > `Uncaught TypeError: Cannot read property 'dataset' of null` |
5 | | > |
6 | | > My patch fixes this by adding a check to make sure that `modal` is not `null`. |
7 | | > |
8 | | > Testing on multiple different devices would be appreciated. |
9 | | |