• Robert Knight's avatar
    Make app directives compatible with jQLite · b5d4e7ba
    Robert Knight authored
    This enables the sidebar app to function with only
    jQLite, rather than the full jQuery library.
    
    The main differences are:
    
     - jqLite's find() method only supports tag names.
       Element.querySelector() can be used instead
     - jqLite-wrapped input elements do not have a focus()
       method. Just call focus() on the input instead
     - The DOM focus() and select() methods are not fluent
       like their jQuery counterparts
    b5d4e7ba
h-autofocus.js 728 Bytes