Switch skin to modern, and try clicking on any maplinks. The links are not enabled.
It appears the reason is that $( '.mw-kartographer-maplink', '#content' ) fails because there are no tags with content ID in the Modern skin. Instead, there is a mw_content ID, and a number of others.