]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Using shorthand document ready initialization
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 17 Mar 2011 18:23:44 +0000 (18:23 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 17 Mar 2011 18:23:44 +0000 (18:23 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8756 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/notifications/views/default/notifications/subscriptions/forminternals.php

index 6731c59e307eb908afc833058353233c020c9ec2..b6b322a1b1daf4747eee20ee48a5fb9dc14e1ede 100644 (file)
@@ -302,7 +302,7 @@ if (!isset($vars['replacement'])) {
                $("div#friends-picker<?php echo $friendspicker; ?>").friendsPicker(<?php echo $friendspicker; ?>);
 </script>
 <script type="text/javascript">
-       $(document).ready(function () {
+       $(function () {
        // manually add class to corresponding tab for panels that have content
 <?php
        if (sizeof($activeletters) > 0) {