speechanddebate / tabroom

Tabroom.com Legacy Perl/Mason Code
https://www.tabroom.com
Other
14 stars 6 forks source link

Use explicit element instead of $(this) #39

Closed aelfric closed 5 months ago

aelfric commented 6 months ago

In an arrow funtion, this refers to the whole page rather then the more local value that JQuery's .each expects. This switches to the two-arg version of each where the second arg is the current element.

palmertab commented 5 months ago

Thank you Frank :)