Created
July 7, 2016 06:16
-
-
Save culttm/4cc9138138b514fae86c128740653e90 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var appendNoCallback = $.fn.append; | |
| $.fn.append = function() { | |
| var backup = appendNoCallback.apply(this, arguments); | |
| if(typeof arguments[1] == "function") arguments[1](); | |
| return backup; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment