Skip to content

Commit 3fddf2d

Browse files
author
Shane Stebner
committed
update doc
1 parent eddaf08 commit 3fddf2d

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,8 @@ <h3 class="font-bree-serif">jAlert Settings</h3>
672672
&lt;/a></pre>
673673
How to get the current top-most visible jAlert:
674674
<pre class="prettyprint linenums">var currentAlert = $.jAlert('current');
675-
//now that you've got it, you can get it's properties, center it, or close it.
675+
//now that you've got it, you can get it's properties, or close it.
676676
console.log(currentAlert);
677-
currentAlert.centerAlert();
678677
currentAlert.closeAlert();</pre>
679678
How to override defaults:
680679
<pre class='prettyprint linenums'>
@@ -1004,12 +1003,6 @@ <h3 class="font-bree-serif">jAlert Settings</h3>
10041003
<td>destroyOrJustHide, onClose</td>
10051004
<td>The first parameter determines whether or not to hide or remove from the DOM (boolean), and the second is a callback for when it's done closing.</td>
10061005
</tr>
1007-
<tr>
1008-
<td>centerAlert</td>
1009-
<td>$('.jAlert').jAlert().centerAlert();</td>
1010-
<td></td>
1011-
<td>Centers the alert on the page.</td>
1012-
</tr>
10131006
<tr>
10141007
<td>showAlert</td>
10151008
<td>$('.jAlert').jAlert().showAlert();</td>

0 commit comments

Comments
 (0)