Problem with js
wwillm opened this issue · 3 comments
I installed the module with composer and put my settings.
But when I call my homepage, I do not see anything.
Inspecting with chrome gives me the emssage:
Uncaught TypeError: $(...).cookieNotify is not a function
When I look to the sources tab, I see:
<script type="text/javascript" src="/framework/thirdparty/jquery/jquery.js?m=1428661025"></script><script type="text/javascript" src="/cookie-policy-notification/javascript/jquery.cookie.policy.js?m=1429084899"></script><script type="text/javascript">//<![CDATA[
$(document).ready(function() {
$('body').cookieNotify({btnText: 'Cookie Warnung', text: '
Bla bla
Bla Bla 2
', position: 'top'});});
All seems to be OK, I do not see any erroneous code. Can someone help me?
It was a double definition of jquery.js, I removed the jquery Requirement in code/CookiePolicy.php
So we can close this issue
As written before.
Hello, i've got the same issue here (not showing anything on page), could you explain what exactly you removed?