Skip to content

Error in IE9.0.12 #83

@cloud216

Description

@cloud216

Getting an error that match value is null or can't be found. added this to get rid of it:

var oPercent;
if ($(this).attr('style') != null) {
oPercent = $(this).attr('style').match(/margin-left:(.*[0-9])/i) && parseInt(RegExp.$1);

    }
    return oPercent;

Any issues with this above?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions