"Collapse and expand" 'Site administration' button not working on Moodle 3.8

"Collapse and expand" 'Site administration' button not working on Moodle 3.8

by Rakesh Chandrakar -
Number of replies: 1

When site load first time its working fine after that load other page "Site administration" navigation button not working below is the error displayed in console

notif.js:4 Uncaught TypeError: $ is not a function

    at notif.js:4
    at Object.execCb (require.min.js:1)
    at b.check (require.min.js:1)
    at b. (require.min.js:1)
    at require.min.js:1
    at require.min.js:1
    at each (require.min.js:1)
    at b.emit (require.min.js:1)
    at b.check (require.min.js:1)
    at b.enable (require.min.js:1)
Attachment Site administrator.png
Average of ratings: -
In reply to Rakesh Chandrakar

Re: "Collapse and expand" 'Site administration' button not working on Moodle 3.8

by Pawan Pandey -

The above error is related to Javascript.  In Moodle,  all the javascript file are combined into one file called first.js. Since their is issue with file called notify.js (assume) Check whether jquery is defined within notify.js module. If not check for any custom AMD modules which are defined in system.

Average of ratings: Useful (1)