Last active
December 19, 2022 23:44
-
-
Save thypon/5078cd48c2c73b99293e1e22d17ec7c4 to your computer and use it in GitHub Desktop.
Mastodon HackFix hashtags
Updated to include the fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately this also breaks the autocomplete suggestions when typing hashtags in the New Post dialog. I added an additional check at Line 34 to exclude these lookups that seems to have resolved it:
if (_this.readyState === 4 && _this.status === 200 && ~URL.indexOf('api/v2/search') && params.get('q') && !params.get('type')) {