Plugin Directory

Changeset 2433498


Ignore:
Timestamp:
12/07/2020 07:27:04 PM (5 years ago)
Author:
d3wp
Message:

jquery 3.1 amin JS fix

Location:
wp-snow-effect
Files:
42 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-snow-effect

    • Property svn:ignore
      •  

        old new  
        11.git
         2.gitignore
         3.gitattributes
  • wp-snow-effect/trunk/README.txt

    r2432614 r2433498  
    66Tested up to: 5.5.3
    77Requires PHP: 5.6
    8 Stable tag: 1.1.14
     8Stable tag: 1.1.15
    99License:GPL2
    1010 
     
    6060
    6161== Changelog ==
     62
     63= 1.1.15 =
     64* fixed jQuery 3.1 incompatibility in admin file
    6265
    6366= 1.1.14 =
     
    122125
    123126== Upgrade Notice ==
     127
     128= 1.1.15 =
     129* fixed jQuery 3.1 incompatibility in admin file
    124130
    125131= 1.1.14 =
  • wp-snow-effect/trunk/admin/js/wp-snow-effect-admin.js

    r1774205 r2433498  
    1 (function( $ ) {
    2     'use strict';
     1(function ($) {
     2  "use strict";
    33
    4     $( window ).load(function() {
    5         var previous;
    6         $('#settings_flake_type').focus(function () {
    7                 previous = this.value;
    8         }).change(function() {
    9             if(this.value < 100) {
    10                 pro_alert();
    11                 this.value = previous;
    12             }
    13         });
     4  $(window).on("load", function () {
     5    var previous;
     6    $("#settings_flake_type")
     7      .focus(function () {
     8        previous = this.value;
     9      })
     10      .change(function () {
     11        if (this.value < 100) {
     12          pro_alert();
     13          this.value = previous;
     14        }
     15      });
    1416
    15         $('#settings_on_spec_page').keyup(function () {
    16              pro_alert();   
    17              this.value = '';
    18         });
     17    $("#settings_on_spec_page").keyup(function () {
     18      pro_alert();
     19      this.value = "";
     20    });
    1921
    20         function pro_alert() {
    21              alert("Sorry...\n\nThis functionality is available in PRO version only.\n\nPlease consider to upgrade.");   
    22         }
    23 
    24     });
    25 
    26 })( jQuery );
     22    function pro_alert() {
     23      alert(
     24        "Sorry...\n\nThis functionality is available in PRO version only.\n\nPlease consider to upgrade."
     25      );
     26    }
     27  });
     28})(jQuery);
  • wp-snow-effect/trunk/wp-snow-effect.php

    r2432614 r2433498  
    1717 * Plugin URI:        http://www.wpmaniax.com/seasonal-plugins
    1818 * Description:       Add nice looking animation effect of falling snow to your Wordpress site and enjoy winter.
    19  * Version:           1.1.14
     19 * Version:           1.1.15
    2020 * Author:            WPManiax
    2121 * Author URI:        http://www.wpmaniax.com
Note: See TracChangeset for help on using the changeset viewer.