aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 858345d72..055be36c8 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -425,7 +425,7 @@ $('#my-modal').bind('hidden', function () {
</table>
<pre class="prettyprint linenums">
-$('#.tabs').bind('change', function (e) {
+$('.tabs a').bind('change', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
})</pre>