leanModal not a function

后端 未结 1 610
渐次进展
渐次进展 2021-01-25 13:51

Hopefully you can help me clear this up. I\'m using a few jQuery scripts on my site (one being leanModal, which I\'ve used several times in the past without any pro

相关标签:
1条回答
  • 2021-01-25 14:13

    It looks like you override the $ in some way.

    $ is undefined
    jQuery return a jQuery object. (function (a,b){return new e.fn.init(a,b,h)})


    As @Rocket found in your's source code:

    You use jQuery.noConflict(); here

    Which free the $ varibale to it's previous state (undefined)

    Read noConflict docs:

    Description: Relinquish jQuery's control of the $ variable

    0 讨论(0)
提交回复
热议问题