]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Replace jQuery with vanilla JS 19259/head
authorPatrick H. Lauke <redux@splintered.co.uk>
Wed, 17 Feb 2016 15:21:02 +0000 (15:21 +0000)
committerPatrick H. Lauke <redux@splintered.co.uk>
Wed, 17 Feb 2016 15:21:02 +0000 (15:21 +0000)
js/src/button.js

index adcf4c92864f726df4cfb29f8a91f8b887ea648c..39e2b397426dc4adba3552436e2963e442f19135 100644 (file)
@@ -93,7 +93,7 @@ const Button = (($) => {
             $(this._element).trigger('change')
           }
 
-          $(input).trigger('focus')
+          input.focus()
         }
 
       } else {