Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix(compile): properly handle false value for boolean attrs with jQuery #16779

Merged
merged 1 commit into from Dec 6, 2018

Commits on Dec 3, 2018

  1. fix(compile): properly handle false value for boolean attrs with jQuery

    jQuery skips special boolean attrs treatment in XML nodes for historical reasons
    and hence AngularJS cannot freely call `.attr(attrName, false) with such
    attributes. To avoid issues in XHTML, call `removeAttr` in such cases instead.
    
    Ref jquery/jquery#4249
    Fixes angular#16778
    mgol committed Dec 3, 2018
    Copy the full SHA
    fe705a9 View commit details
    Browse the repository at this point in the history