Plugin Directory

Changeset 1951074


Ignore:
Timestamp:
10/03/2018 07:49:33 PM (8 years ago)
Author:
sparklit
Message:

Compatibility fix for NexGen gallery.

Location:
adbutler/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adbutler/trunk/adbutler.php

    r1948203 r1951074  
    55Plugin URI: https://wordpress.org/plugins/adbutler
    66Description: AdButler ad management system integration plugin. Simplify deployment of your ad zones with this highly effective manner of deploying your publishing needs
    7 Version: 1.18
     7Version: 1.19
    88Author: AdButler
    99Author URI: http://www.adbutler.com
     
    2323define( 'ADBUTLER_CACHEURL', ADBUTLER_URLPATH . 'cache/' );
    2424define( 'ADBUTLER_ADSERVE_URL','https://adbutler.com/external_request.spark');
    25 define( 'ADBUTLER_PLUGIN_VERSION', '1.18');
     25define( 'ADBUTLER_PLUGIN_VERSION', '1.19');
    2626
    2727
  • adbutler/trunk/js/adbutler.js

    r1948203 r1951074  
    1616            }
    1717           
    18             if ($('.adbutler_widget, .adbutler_settings').length > 0 ||($("[id^='customize-control-widget_adbutler-']"))) {
     18            if ($('.adbutler_widget, .adbutler_settings').length > 0 ||($("[id^='customize-control-widget_adbutler-']").length > 0)) {
    1919                adbutler.populate_zone_lists();
    2020            }
     
    3131
    3232            var category_restrict_checkbox = $('#adbutler_restrict_to_pages');
    33             if (category_restrict_checkbox) adbutler.handle_category_restrict(category_restrict_checkbox[0]);
     33            if (category_restrict_checkbox.length > 0) adbutler.handle_category_restrict(category_restrict_checkbox[0]);
    3434        },
    3535        badKey:function(){
Note: See TracChangeset for help on using the changeset viewer.