-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I am using jquery 1.7.2 rather than 1.4.2 .
At line no 284 in the code is having a problem
(jQuery.each(topUp.element.attr("class").split(/\s/), function(i, c) {)
topUp.element.attr("class") gives me undefined if class is not defined in 1.7.2
but it gives me empty string if I am using 1.4.2.
So I am getting Exception on this line.
I changed this line to
jQuery.each((topUp.element.attr("class") || "").split(/\s/), function(i, c) {
to resolve my problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels