Closed (fixed)
Project:
Aspiration
Version:
1.1.5
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2026 at 02:10 UTC
Updated:
29 May 2026 at 02:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #4
shamir.vs commentedI have created a merge request to address JS issue. Please take a moment to review it. Thank you!
Comment #5
angel_devoeted commentedHi @shamir.vs, thanks for the work on this!
I tested the MR locally and it works as expected. The
if (scrollPath)check successfully prevents thenullpointer error when the "Back to Top" button is disabled. Also, convertingFALSEtofalsewas definitely necessary as it was previously triggering aReferenceError: FALSE is not defined.One minor thing to fix. The indentation inside the new
ifblock is currently using tabs.It should be updated to use the standard 2-space indentation to follow Drupal coding standards.
Comment #7
sujan shrestha commentedThanks for the fix @gramie @shamir.vs and for the review @angel_devoeted! I have merged the changes. Setting to fixed.