Cookie Law / GDPR Info - Version 1.4.2

Version Description

  • jQuery 'reload' bug fix on accept
Download this release

Release Info

Developer richardashby
Plugin Icon Cookie Law / GDPR Info
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

Files changed (2) hide show
  1. js/cookielawinfo.js +4 -9
  2. readme.txt +4 -1
js/cookielawinfo.js CHANGED
@@ -141,7 +141,8 @@ function cli_show_cookiebar(p) {
141
  }
142
 
143
  // Action event listener for "show header" event:
144
- cached_showagain_tab.click(function() {
 
145
  cached_showagain_tab.slideUp(settings.animate_speed_hide, function slideShow() {
146
  cached_header.slideDown(settings.animate_speed_show);
147
  });
@@ -154,15 +155,9 @@ function cli_show_cookiebar(p) {
154
  return false;
155
  });
156
 
157
- // Action event listener for debug cookies value link. To use:
158
- // <a href='#' id='cookielawinfo-debug-cookie'>Show Cookie Value</a>
159
- jQuery("#cookielawinfo-debug-cookie").click(function() {
160
- alert("Cookie value: " + Cookie.read(ACCEPT_COOKIE_NAME));
161
- return false;
162
- });
163
-
164
  // action event listeners to capture "accept/continue" events:
165
- jQuery("#cookie_action_close_header").click(function() {
 
166
  accept_close();
167
  });
168
 
141
  }
142
 
143
  // Action event listener for "show header" event:
144
+ cached_showagain_tab.click(function(e) {
145
+ e.preventDefault();
146
  cached_showagain_tab.slideUp(settings.animate_speed_hide, function slideShow() {
147
  cached_header.slideDown(settings.animate_speed_show);
148
  });
155
  return false;
156
  });
157
 
 
 
 
 
 
 
 
158
  // action event listeners to capture "accept/continue" events:
159
+ jQuery("#cookie_action_close_header").click(function(e) {
160
+ e.preventDefault();
161
  accept_close();
162
  });
163
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://cookielawinfo.com/donate
4
  Tags: eu cookie law, cookie law, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 4.2.2
7
- Stable tag: 1.4.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -141,6 +141,9 @@ See http://cookielawinfo.com for more information on what is required.
141
 
142
  == Changelog ==
143
 
 
 
 
144
  = 1.4.1 =
145
  * Bug fix: fixed browser compatibility issue in cookielawinfo.js
146
 
4
  Tags: eu cookie law, cookie law, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.4.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
141
 
142
  == Changelog ==
143
 
144
+ = 1.4.2 =
145
+ * jQuery 'reload' bug fix on accept
146
+
147
  = 1.4.1 =
148
  * Bug fix: fixed browser compatibility issue in cookielawinfo.js
149