Skip to content

Commit

Permalink
[fix] plugin defined for jQuery $ (re: issue#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
wimagguc committed Mar 25, 2015
1 parent 1216a55 commit fd86a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery-eu-cookie-law-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (!window.console) window.console = {};
if (!window.console.log) window.console.log = function () { };
// ^^^

var EuCookieLawPopup = (function() {
$.fn.euCookieLawPopup = (function() {

var _self = this;

Expand Down Expand Up @@ -251,7 +251,7 @@ var EuCookieLawPopup = (function() {

$(document).ready( function() {
if ($(".eupopup").length > 0) {
(new EuCookieLawPopup()).init({
$(document).euCookieLawPopup().init({
'info' : 'YOU_CAN_ADD_MORE_SETTINGS_HERE',
'popupTitle' : 'This website is using cookies. ',
'popupText' : 'We use them to give you the best experience. If you continue using our website, we\'ll assume that you are happy to receive all cookies on this website.'
Expand Down

0 comments on commit fd86a90

Please sign in to comment.