aboutsummaryrefslogtreecommitdiff
path: root/javascript/friendsPickerv1.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/friendsPickerv1.js')
-rwxr-xr-xjavascript/friendsPickerv1.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/javascript/friendsPickerv1.js b/javascript/friendsPickerv1.js
index b1cad592d..eb3f6a15e 100755
--- a/javascript/friendsPickerv1.js
+++ b/javascript/friendsPickerv1.js
@@ -30,16 +30,13 @@ jQuery.fn.friendsPicker = function(iterator) {
// generate appropriate nav for each container
container.each(function(i) {
-
// generate Left and Right arrows
$(this).before("<div class='friendsPickerNavigationL' id='friendsPickerNavigationL" + iterator + "'><a href='#'>Left</a><\/div>");
$(this).after("<div class='friendsPickerNavigationR' id='friendsPickerNavigationR" + iterator + "'><a href='#'>Right</a><\/div>");
// generate a-z tabs
$(this).before("<div class='friendsPickerNavigation' id='friendsPickerNavigation" + iterator + "'><ul><\/ul><\/div>");
-
$(this).find("div.panel").each(function(individualTabItemNumber) {
-
$("div#friendsPickerNavigation" + iterator + " ul").append("<li class='tab" + (individualTabItemNumber+1) + "'><a href='#" + (individualTabItemNumber+1) + "'>" + $(this).attr("title") + "<\/a><\/li>");
});
@@ -88,13 +85,9 @@ jQuery.fn.friendsPicker = function(iterator) {
// apply 'current' class to currently selected tab link
$("div#friendsPickerNavigation" + iterator + " a:eq(0)").addClass("current");
-
});
-
- $("div#friendsPickerNavigation" + iterator).append("<br />");
- //$("div#friendsPickerNavigation" + iterator).hide();
-
+ $("div#friendsPickerNavigation" + iterator).append("<br />");
});
};