Syntax error

This commit is contained in:
Kenneth Jao 2016-09-02 12:23:05 -04:00
parent 64fa523e3d
commit 9df47a896a

View File

@ -147,8 +147,7 @@ Template.profile.helpers({
classHolderHeight() { // Dimensions the container for the classes
return 0.26 * window.innerHeight.toString() + "px";
},
profClassTabColor(status) { // Change this [Supposed to show the current mode that's selected via color]
     
profClassTabColor(status) { // Change this [Supposed to show the current mode that's selected via color]    
if (Session.equals("profClassTab",status)) {            
return themeColors[Meteor.user().profile.preferences.theme].highlightText;        
} else {            
@ -156,7 +155,7 @@ Template.profile.helpers({
}    
},
profClassTab(tab) { // Tells current class
if (Session.get("profClassTab",tab)) {
if (Session.equals("profClassTab",tab)) {
return true;
} else {
return false;