Plugin Directory

Changeset 2172581


Ignore:
Timestamp:
10/13/2019 09:10:54 PM (6 years ago)
Author:
AlfonsoAB
Message:

Corrected size behaviour

Location:
styles-selector/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • styles-selector/trunk/README.txt

    r2171771 r2172581  
    88Tested up to: 5.2.3
    99License: GPLv2 or later
    10 Version:           1.1.0
     10Version:           1.1.1
    1111Requires at least: 5.2
    1212Requires PHP:      7.1.32
     
    120120
    121121== Upgrade Notice ==
     122= 1.1.1 =
     123
     124Size is set when loading to prevent font-size=0
     125
    122126= 1.1.0 =
    123127
  • styles-selector/trunk/includes/class-styleselector.php

    r2171771 r2172581  
    2020 * Plugin URI:        https://chafalladas.com/styles-selector-plugin/
    2121 * Description:       A plugin that changes on the fly the styles of a page.
    22  * Version:           1.1.0
     22 * Version:           1.1.1
    2323 * Requires at least: 5.2
    2424 * Requires PHP:      7.1.3.2
  • styles-selector/trunk/public/js/styleselector-public.js

    r2171771 r2172581  
    5757{
    5858    var option=getCookie("ss_Option");
    59     if (option == ""){option = "Restore"}
     59    if (option == ""){option = "Restore";}
    6060    changeProps(option,size);
    6161}
     
    211211    var option=getCookie("ss_Option");
    212212    var size=getCookie("ss_Size") - 1.25;
     213    if (size == - 1.25){option = "Restore";size = 0;setCookie("ss_Size",size,365);}//No size, or size == 0
    213214//console.log("Cookie?");
    214215    size = size.toFixed(2)
  • styles-selector/trunk/styleselector.php

    r2171771 r2172581  
    1717 * Plugin URI:        https://github.com/Chafalleiro/Styles-selector
    1818 * Description:       Changes the styles by classes dinamically. Needs some knowledge about the css styles of the templates to alter.
    19  * Version:           1.1.0
     19 * Version:           1.1.1
    2020 * Author:            Alfonso
    2121 * Author URI:        https://chafalladas.com
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'STYLESELECTOR_VERSION', '1.0.0' );
     38define( 'STYLESELECTOR_VERSION', '1.1.1' );
    3939
    4040/**
Note: See TracChangeset for help on using the changeset viewer.