diff --git a/demo.html b/demo.html
index daebcac..b24af06 100644
--- a/demo.html
+++ b/demo.html
@@ -127,7 +127,7 @@
Parameters
- (new EuCookieLawPopup()).init({
+ $(document).euCookieLawPopup().init({
cookiePolicyUrl : 'http://www.wimagguc.com/?cookie-policy',
diff --git a/jquery-eu-cookie-law-popup.jquery.json b/jquery-eu-cookie-law-popup.jquery.json
index 63e707a..43c1b01 100644
--- a/jquery-eu-cookie-law-popup.jquery.json
+++ b/jquery-eu-cookie-law-popup.jquery.json
@@ -8,7 +8,7 @@
"law",
"popup"
],
- "version": "1.0.0",
+ "version": "1.0.1",
"author": {
"name": "Richard Dancsi",
"url": "http://www.wimagguc.com/"
diff --git a/js/jquery-eu-cookie-law-popup.js b/js/jquery-eu-cookie-law-popup.js
index b35b16f..e92b304 100644
--- a/js/jquery-eu-cookie-law-popup.js
+++ b/js/jquery-eu-cookie-law-popup.js
@@ -1,7 +1,7 @@
/**
*
* JQUERY EU COOKIE LAW POPUPS
- * version 1.0.0
+ * version 1.0.1
*
* Code on Github:
* https://github.com/wimagguc/jquery-eu-cookie-law-popup