Plugin Directory

Changeset 2367127


Ignore:
Timestamp:
08/22/2020 04:46:02 PM (6 years ago)
Author:
southdevondigital
Message:

V1.2.2 - jQuery compatibility update to address issues with shortcode generator not working due to changes brought in with the WordPress 5.5 update

Location:
swiper-lite/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • swiper-lite/trunk/js/admin.js

    r2231651 r2367127  
    1 (function($){
     1jQuery(function($){
    22
    33    let postType;
     
    88    let order;
    99
    10     $('#post-type-select').live('change focus', function(){
     10    $('#post-type-select').on('change focus', function(){
    1111        postType = $(this).val();
    1212        if ( postType == "posts" ) {
     
    1919    });
    2020
    21     $('#style-select').live('change focus', function(){
     21    $('#style-select').on('change focus', function(){
    2222        style = $(this).val();
    2323        if ( style != "" ) {
     
    2828    });
    2929
    30     $('#shortcode-generator input, #shortcode-generator select').live('change focus', function(){
     30    $('#shortcode-generator input, #shortcode-generator select').on('change focus', function(){
    3131        updateShortcode();
    3232    });
     
    8484    });
    8585
    86     $('#copy-shortcode').live('click', function(){
     86    $('#copy-shortcode').on('click', function(){
    8787        moveCopiedLabel();
    8888        $('#shortcode-output').select();
     
    9292    });
    9393
    94 })(jQuery);
     94});
  • swiper-lite/trunk/post-swiper.php

    r2254118 r2367127  
    44Plugin URI:   https://southdevondigital.com/plugins/
    55Description:  Swiper gives you the ability to embed Tinder style swipable cards with content from your posts or pages. Users can swipe through these cards, left to 'dislike', or right to 'like'. Liked items will then be saved in a list below.
    6 Version:      1.2.1
     6Version:      1.2.2
    77Author:       South Devon Digital
    88Author URI:   https://southdevondigital.com
Note: See TracChangeset for help on using the changeset viewer.