WordPress.org

Plugin Directory

Changeset 1557687


Ignore:
Timestamp:
12/19/16 16:36:13 (11 months ago)
Author:
spectacula
Message:

Remove a js error that shows up on ajaxComplete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spots/trunk/assets/js/spots.js

    r1036861 r1557687  
    146146 
    147147            $( document ).ajaxComplete( function( e, h, o ) { 
    148                 var req = o !== undefined ? o.data.split( '&' ) : [], 
     148                var req = o !== undefined && o.data !== undefined ? o.data.split( '&' ) : [], 
    149149                    data = {}, _tmp, tx, i; 
    150150 
Note: See TracChangeset for help on using the changeset viewer.