Changeset 550025
- Timestamp:
- 05/28/2012 11:16:16 PM (14 years ago)
- Location:
- easy-spoiler/trunk
- Files:
-
- 3 edited
-
easy-spoiler.php (modified) (3 diffs)
-
js/easy-spoiler.js (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-spoiler/trunk/easy-spoiler.php
r448242 r550025 2 2 /* 3 3 Plugin Name: Easy Spoiler 4 Version: 1.6. 24 Version: 1.6.3 5 5 Plugin URI: http://www.dyerware.com/main/products/easy-spoiler 6 6 Description: Creates an attractive container to hide a spoiler within a post or page. Works in comments and widgets as well. Also supports clustering spoilers into groups. … … 8 8 Author URI: http://www.dyerware.com 9 9 */ 10 /* Copyright © 2009, 2010, 2011 dyerware10 /* Copyright © 2009, 2010, 2011, 2012 dyerware 11 11 Support: support@dyerware.com 12 12 … … 91 91 { 92 92 $jsDir = get_option('siteurl') . '/wp-content/plugins/easy-spoiler/js/'; 93 wp_register_script('wpEasySpoilerJS', "{$jsDir}easy-spoiler.js", false, '1. 0');93 wp_register_script('wpEasySpoilerJS', "{$jsDir}easy-spoiler.js", false, '1.2'); 94 94 95 95 $this->init_options_map(); -
easy-spoiler/trunk/js/easy-spoiler.js
r448242 r550025 1 1 /** 2 2 * Handle: easySpoiler 3 * Version: 1. 13 * Version: 1.2 4 4 * Enqueue: true 5 5 * … … 24 24 {e.style.display = 'none';} 25 25 26 27 b.nodeValue=showName; 28 b.innerText=showName; 29 26 30 if (navigator.userAgent.indexOf("Firefox")!=-1) 27 31 { 28 32 b.firstChild.nodeValue=showName; 29 }30 else31 {32 b.nodeValue=showName;33 b.innerText=showName;34 33 } 35 34 … … 41 40 e.style.display = 'block'; 42 41 42 b.value=hideName; 43 b.innerText=hideName; 44 43 45 if (navigator.userAgent.indexOf("Firefox")!=-1) 44 46 { 45 47 b.firstChild.nodeValue=hideName; 46 48 } 47 else48 {49 b.value=hideName;50 b.innerText=hideName;51 }52 49 53 if (doIframes )50 if (doIframes && doIframes != "false") 54 51 { 55 52 jQuery("#" + id).find('iframe').each(function(i) {autoResize(this);}); … … 81 78 e.style.display = 'none'; 82 79 80 me.value=showName; 81 me.innerText=showName; 82 83 83 if (navigator.userAgent.indexOf("Firefox")!=-1) 84 84 { 85 b.firstChild.nodeValue=showName; 86 } 87 else 88 { 89 me.value=showName; 90 me.innerText=showName; 85 me.firstChild.nodeValue=showName; 91 86 } 92 87 } -
easy-spoiler/trunk/readme.txt
r448242 r550025 5 5 Tags: spoiler,hint,tip,answer,hidden,hide,mobile,shortcode,dyerware 6 6 Requires at least: 2.8 7 Tested up to: 3. 2.18 Stable tag: 1.6. 27 Tested up to: 3.3.1 8 Stable tag: 1.6.3 9 9 10 10 This plugin allows you to create a container for spoilers within pages, posts, comments, and widgets. Also supports spoiler groups. … … 69 69 == Upgrade Notice == 70 70 71 = 1.6.3 = 72 * Fix for fireFox issue with spoilergroups causing a reload of the page when opened. 73 71 74 = 1.6.2 = 72 75 * Fix for fireFox show button not changing to 'hide' … … 128 131 == Changelog == 129 132 133 = 1.6.3 = 134 * Fix for fireFox issue with spoilergroups causing a reload of the page when opened. 135 130 136 = 1.6.2 = 131 137 * Fix for fireFox show button not changing to 'hide'
Note: See TracChangeset
for help on using the changeset viewer.