Skip to content

Commit

Permalink
Merge pull request #55 from brool/master
Browse files Browse the repository at this point in the history
carry over container property to popup
  • Loading branch information
clu3 committed Mar 27, 2015
2 parents 0b94d0b + d20e52a commit c2b7294
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bootstro.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ $(document).ready(function(){
p.trigger = 'manual'; //always set to manual.

p.html = $el.attr('data-bootstro-html') || 'top';
if ($el.attr('data-bootstro-container')) {
p.container = $el.attr('data-bootstro-container');
}

//resize popover if it's explicitly specified
//note: this is ugly. Could have been best if popover supports width & height
Expand Down

0 comments on commit c2b7294

Please sign in to comment.