- Issue created by @Gurkawal
Hi @Rajesh Bhimani , I have created a MR to resolve this issue. Please review it once.
Thankyou- Status changed to Needs review
6 months ago 6:53am 21 May 2024
When installing and enabling the navigate_to_top module, I receive the following warning:
Warning: file_get_contents(modules/contrib/navigate_to_top/js/navigate_to_top.js): Failed to open stream: No such file or directory in Drupal\Core\Asset\JsOptimizer->optimize() (line 39 of core\lib\Drupal\Core\Asset\JsOptimizer.php).
I receive a warning about a missing JavaScript file. As a result, the "Navigate to Top" button does not appear on the screen.
Proposed resolution:
To resolve this issue, Rename the file navigate_to_top.j_ to navigate_to_top.js in the modules/contrib/navigate_to_top/js/ directory.
Here, I am also attaching the sreenshot of this error
Needs review
1.0
Code
Hi @Rajesh Bhimani , I have created a MR to resolve this issue. Please review it once.
Thankyou