Plugin Directory

Changeset 2206555

Timestamp:
12/05/2019 12:33:42 PM (5 years ago)
Author:
Anfisa
Message:

Изменены коды в jQuery

Location:
abwpwoo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abwpwoo/trunk/readme.txt

    r2198635 r2206555  
    44Requires at least: 4.8
    55Tested up to: 5.2.3
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5454== Changelog ==
    5555
     56
     57
     58
    5659= 1.0.0 =
    5760* Initial release
  • abwpwoo/trunk/wwpcouseware-extra-settings.php

    r2198635 r2206555  
    22/**
    33 * Plugin Name: Addon for AB-Inspiration, WooCoocommerce and WP Courseware
    4  * Version:     1.0.0
     4 * Version:     1.0.
    55 * Plugin URI:  https://ab-inspiration.com
    66 * Description: The official extension AB-Inspiration for add integration for WP Courseware and WooCommmerce.
     
    231231function abwpwoo_unit_order()  { ?>
    232232<script>
    233 jQuery(document).ready(function(){
     233jQuery(document).ready(function(){
    234234
    235235setTimeout(function() {
     
    237237    if (unitTable.length) {
    238238        unitTable.each(function(el, index) {
    239             var units = jQuery(this).find('.wpcw_fe_unit_title');
     239            var units = (this).find('.wpcw_fe_unit_title');
    240240            units.each(function(index) {
    241                 jQuery(this).text(index + 1 + ".");
     241                (this).text(index + 1 + ".");
    242242            });
    243243        });
     
    248248   
    249249</script>
    250 <script> jQuery( ".wpcw_progress_percent" ).prepend( "Завершено на " ); </script>
    251 <script> jQuery( ".wpcw_course-template-template-single-course .wpcw_widget_progress" ).find(".wpcw_fe_module").addClass("wpcw_fe_module_toggle_hide"); </script>
     250<script> ( ".wpcw_progress_percent" ).prepend( "Завершено на " ); </script>
     251<script> ( ".wpcw_course-template-template-single-course .wpcw_widget_progress" ).find(".wpcw_fe_module").addClass("wpcw_fe_module_toggle_hide"); </script>
    252252
    253253
Note: See TracChangeset for help on using the changeset viewer.