diff --git a/web/app/assets/javascripts/band_setup.js b/web/app/assets/javascripts/band_setup.js index 9f2ca3162..6a75cdfb7 100644 --- a/web/app/assets/javascripts/band_setup.js +++ b/web/app/assets/javascripts/band_setup.js @@ -10,6 +10,7 @@ context.JK.BandSetupScreen = function (app) { var NONE_SPECIFIED = 'None specified' + var GENRE_STEP = 1 var ui = new context.JK.UIHelper(JK.app) var logger = context.JK.logger; var profileUtils = context.JK.ProfileUtils; @@ -216,7 +217,7 @@ band.hourly_rate=$("#hourly-rate").val() band.gig_minimum=$("#gig-minimum").val() - if (currentStep==3) { + if (currentStep==GENRE_STEP) { band.genres = getSelectedGenres(); band.validate_genres = true } else {