Changeset 928817
- Timestamp:
- 06/09/2014 10:03:30 AM (12 years ago)
- Location:
- uk-cookie-consent/tags/1.8.1
- Files:
-
- 3 copied
-
. (copied) (copied from uk-cookie-consent/trunk)
-
readme.txt (copied) (copied from uk-cookie-consent/trunk/readme.txt) (2 diffs)
-
uk-cookie-consent.php (copied) (copied from uk-cookie-consent/trunk/uk-cookie-consent.php) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uk-cookie-consent/tags/1.8.1/readme.txt
r925693 r928817 5 5 Requires at least: 3.5.0 6 6 Tested up to: 3.9.1 7 Stable tag: 1.8 7 Stable tag: 1.8.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 49 49 == Changelog == 50 50 51 = 1.8 == 51 = 1.8.1 = 52 * Fixed empty space at top of screen when bar is located at the bottom of screen 53 54 = 1.8 = 52 55 * Move HTML down to accommodate notification bar rather than obscuring content 53 56 * Enqueues JS in footer -
uk-cookie-consent/tags/1.8.1/uk-cookie-consent.php
r925693 r928817 330 330 add_action ( 'wp_head', 'catapult_add_cookie_css' ); 331 331 332 function catapult_add_cookie_js() { ?> 332 function catapult_add_cookie_js() { 333 $options = get_option( 'catapult_cookie_options' ); ?> 333 334 <script type="text/javascript"> 334 335 jQuery(document).ready(function(){ 335 336 if(!catapultReadCookie("catAccCookies")){//If the cookie has not been set 336 337 jQuery("#catapult-cookie-bar").show(); 337 jQuery("html").css("margin-top","30px"); 338 <?php if ( $options['catapult_cookie_bar_position_settings'] == 'top' ) { ?> 339 jQuery("html").css("margin-top","30px"); 340 <?php } ?> 338 341 } 339 342 });
Note: See TracChangeset
for help on using the changeset viewer.