Created
July 15, 2014 21:15
-
-
Save kisuka/6072db03fc9a1c90b143 to your computer and use it in GitHub Desktop.
Clear remote modal view on Bootstrap 3.1.
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
// Fix for BS 3.1 modal remote loading. | |
$(document).on("hidden.bs.modal", function (e) { | |
$(e.target).removeData("bs.modal").find(".modal-content").empty(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment