Created
September 13, 2016 12:43
-
-
Save kazeno/36d16dd913e241d08f41f5f15b448d85 to your computer and use it in GitHub Desktop.
Retrofitting jQuery prop() for jQuery > 1.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof jQuery.fn.prop != 'function') { | |
jQuery.fn.prop = jQuery.fn.attr; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment