Browse files

Popup: Add ID to <h2> for popup position-to to find

Fixes gh-7875
Closes gh-7876
  • Loading branch information...
gabrielschulhof committed Dec 15, 2014
1 parent 874285e commit f9f6a06915b30d2b1627b5582121b04f054bba27
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/popup/index.php
@@ -231,7 +231,7 @@
</div><!--/demo-html -->
<h2 id="position-header">Position</h2>
<p>By default, popups open centered vertically and horizontally over the element you clicked (the origin) which is good for popups used as tooltips or menus. If a popup should appear centered within the window instead of over the origin, add the <code>data-position-to</code> attribute to the <strong>link</strong> and specify a value of <code>window</code>. It's also possible to specify any valid selector as the value of <code>position-to</code> in addition to <code>origin</code> and <code>window</code>.</p>
<div data-demo-html="true">

0 comments on commit f9f6a06

Please sign in to comment.