Plugin Directory

Changeset 688990


Ignore:
Timestamp:
03/29/2013 08:02:07 PM (13 years ago)
Author:
shauno
Message:

added jquery as a dependency to the new enqueue calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nextgen-gallery-voting/trunk/ngg-voting.php

    r688982 r688990  
    15371537            $this->includeCss($this->pluginUrl.'css/star_rating.css');
    15381538           
    1539             wp_enqueue_script('nggv-stars', $this->pluginUrl.'js/ajaxify-stars.js');
    1540             wp_enqueue_script('nggv-like', $this->pluginUrl.'js/ajaxify-likes.js');
     1539            wp_enqueue_script('nggv-stars', $this->pluginUrl.'js/ajaxify-stars.js', array('jquery'));
     1540            wp_enqueue_script('nggv-like', $this->pluginUrl.'js/ajaxify-likes.js', array('jquery'));
    15411541            wp_enqueue_style('nggv-stars-css', $this->pluginUrl.'css/star_rating.css');
    15421542           
Note: See TracChangeset for help on using the changeset viewer.