Skip to content

$.css("transform", "scale(1)") not working #2

@sergio0983

Description

@sergio0983

at line 71:
elem.style[$.cssProps.transform] = val+'%';
caused instructions like the one in the title to stop working properly.

Fixed this one by chaning it to:

if ( isNaN(val) ) elem.style[$.cssProps.transform] = val; else elem.style[$.cssProps.transform] = val+'%';

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