greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.42k stars 426 forks source link

Fix JS error on update installed script button #1139

Closed JasonBarnabe closed 1 year ago

JasonBarnabe commented 1 year ago

https://greasyfork.org/en/discussions/greasyfork/184230-greasyfork-bug-report-javascript-error-when-mouse-over-the-script-install-button

cyfung1031 commented 1 year ago

This line should be removed?

https://github.com/JasonBarnabe/greasyfork/blob/fc61fea30cb4f9738502cdf0ffda551ed0103dfd/app/javascript/versioncheck.js#L89

or just ignore if this attribute is removed? https://github.com/JasonBarnabe/greasyfork/blob/fc61fea30cb4f9738502cdf0ffda551ed0103dfd/app/javascript/install.js#L126

Don't understand what is the purpose of mo=3 and the use of onInstallMouseOver