diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/friends/collectiontabs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/friends/collectiontabs.php b/views/default/friends/collectiontabs.php index d9210e8a0..28f9692d8 100644 --- a/views/default/friends/collectiontabs.php +++ b/views/default/friends/collectiontabs.php @@ -36,7 +36,7 @@ $(document).ready(function () { $('#friends_picker_placeholder<?php echo $friendspicker + 1; ?>').load('<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=list&members=<?php echo $members; ?>');
// remove selected state from previous tab
- $(this).parent().parent().find("#friendsPickerNavigationTabs li").removeClass("selected");
+ $(this).parent().parent().find("li.selected").removeClass("selected");
// add selected class to current tab
$(this).parent().addClass("selected");
@@ -48,7 +48,7 @@ $(document).ready(function () { $('#friends_picker_placeholder<?php echo $friendspicker + 1; ?>').load('<?php echo $vars['url']; ?>friends/pickercallback.php?username=<?php echo $_SESSION['user']->username; ?>&type=picker&members=<?php echo $members; ?>&friends=<?php echo $friends; ?>');
// remove selected state from previous tab
- $(this).parent().parent().find("#friendsPickerNavigationTabs li").removeClass("selected");
+ $(this).parent().parent().find("li.selected").removeClass("selected");
// add selected class to current tab
$(this).parent().addClass("selected");
|