Skip to content

Commit

Permalink
Merge branch 'release/1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin de Vesine committed May 4, 2012
2 parents 3a63901 + e1186b9 commit 00046ac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion jquery.cf.popover.js
@@ -1,5 +1,5 @@
/*! /*!
* CF Popover v1.0.1 * CF Popover v1.1
* A lightweight framework for positioning iPad-style popover elements against triggers. * A lightweight framework for positioning iPad-style popover elements against triggers.
* *
* Copyright 2011-2012, Crowd Favorite (http://crowdfavorite.com) * Copyright 2011-2012, Crowd Favorite (http://crowdfavorite.com)
Expand Down Expand Up @@ -147,6 +147,15 @@
}; };
this.$trigger.trigger('popover-hide'); this.$trigger.trigger('popover-hide');
}, },

toggle: function(immediate) {
if (this.popoverIsOpen()) {
this.hide(immediate);
}
else {
this.show();
}
},


/* Event handler for showing popover */ /* Event handler for showing popover */
showPopover: function (e) { showPopover: function (e) {
Expand Down
4 changes: 2 additions & 2 deletions jquery.cf.popover.min.js

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

0 comments on commit 00046ac

Please sign in to comment.