Plugin Directory

Changeset 550025


Ignore:
Timestamp:
05/28/2012 11:16:16 PM (14 years ago)
Author:
dyerware
Message:

v1.6.3 firefox fix

Location:
easy-spoiler/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easy-spoiler/trunk/easy-spoiler.php

    r448242 r550025  
    22/*
    33Plugin Name: Easy Spoiler
    4 Version: 1.6.2
     4Version: 1.6.3
    55Plugin URI: http://www.dyerware.com/main/products/easy-spoiler
    66Description: 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.
     
    88Author URI: http://www.dyerware.com
    99*/
    10 /*  Copyright © 2009, 2010, 2011  dyerware
     10/*  Copyright © 2009, 2010, 2011, 2012  dyerware
    1111    Support: support@dyerware.com
    1212
     
    9191    {
    9292       $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');
    9494       
    9595       $this->init_options_map();
  • easy-spoiler/trunk/js/easy-spoiler.js

    r448242 r550025  
    11/**
    22 * Handle: easySpoiler
    3  * Version: 1.1
     3 * Version: 1.2
    44 * Enqueue: true
    55 *
     
    2424            {e.style.display = 'none';}
    2525           
     26
     27        b.nodeValue=showName;
     28        b.innerText=showName;
     29       
    2630        if (navigator.userAgent.indexOf("Firefox")!=-1)
    2731        {
    2832            b.firstChild.nodeValue=showName;
    29         }
    30         else
    31         {
    32             b.nodeValue=showName;
    33             b.innerText=showName;
    3433        }
    3534       
     
    4140        e.style.display = 'block';
    4241       
     42        b.value=hideName;
     43        b.innerText=hideName;
     44       
    4345        if (navigator.userAgent.indexOf("Firefox")!=-1)
    4446        {
    4547            b.firstChild.nodeValue=hideName;
    4648        }
    47         else
    48         {
    49             b.value=hideName;
    50             b.innerText=hideName;
    51         }   
    5249       
    53         if (doIframes)
     50        if (doIframes && doIframes != "false")
    5451        {
    5552            jQuery("#" + id).find('iframe').each(function(i) {autoResize(this);});
     
    8178        e.style.display = 'none';
    8279       
     80        me.value=showName;
     81        me.innerText=showName;
     82           
    8383        if (navigator.userAgent.indexOf("Firefox")!=-1)
    8484        {
    85             b.firstChild.nodeValue=showName;
    86         }
    87         else
    88         {
    89             me.value=showName;
    90             me.innerText=showName;
     85            me.firstChild.nodeValue=showName;
    9186        }
    9287    }
  • easy-spoiler/trunk/readme.txt

    r448242 r550025  
    55Tags: spoiler,hint,tip,answer,hidden,hide,mobile,shortcode,dyerware
    66Requires at least: 2.8
    7 Tested up to: 3.2.1
    8 Stable tag: 1.6.2
     7Tested up to: 3.3.1
     8Stable tag: 1.6.3
    99
    1010This plugin allows you to create a container for spoilers within pages, posts, comments, and widgets.  Also supports spoiler groups.
     
    6969== Upgrade Notice ==
    7070
     71= 1.6.3 =
     72 * Fix for fireFox issue with spoilergroups causing a reload of the page when opened.
     73
    7174= 1.6.2 =
    7275 * Fix for fireFox show button not changing to 'hide'
     
    128131== Changelog ==
    129132
     133= 1.6.3 =
     134 * Fix for fireFox issue with spoilergroups causing a reload of the page when opened.
     135 
    130136= 1.6.2 =
    131137 * Fix for fireFox show button not changing to 'hide'
Note: See TracChangeset for help on using the changeset viewer.