Skip to content

Commit

Permalink
Merge pull request #14 from crlcu/master
Browse files Browse the repository at this point in the history
Bind body click in this way to solve issues for ajax loaded pages.
  • Loading branch information
victor-valencia committed Oct 16, 2014
2 parents d0f3e2b + 6f873ec commit a3f3c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap-iconpicker/js/bootstrap-iconpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@

// ICONPICKER DATA-API
// ===============
$('body').on('click', function (e) {
$(document).on('click', 'body', function (e) {
$('.iconpicker').each(function () {
//the 'is' for buttons that trigger popups
//the 'has' for icons within a button that triggers a popup
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-iconpicker/js/bootstrap-iconpicker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3f3c54

Please sign in to comment.