fix lobby pentatonic help message

This commit is contained in:
Thibault Duplessis 2018-03-08 08:59:26 -05:00
parent 15f81f3000
commit 8b4f26c2bb

View file

@ -30,28 +30,26 @@ function lichessLobbyMusic() {
orchestra.play(instrument, pitch);
};
lichess.once('lobby-music', function() {
lichess.shepherd(function(theme) {
var tour = new Shepherd.Tour({
defaults: {
classes: theme,
scrollTo: false
}
});
tour.addStep('music', {
title: 'Music from lichess seeks',
text: "Blitz seeks play the clavier.<br>" +
"Classical and bullet play celesta.<br>" +
"Variants play the swells.<br>" +
"Rating determines the pitch.",
attachTo: '#hooks_wrap left',
buttons: [{
text: 'OK',
action: tour.next
}],
});
tour.start();
if (lichess.once('lobby-music')) lichess.shepherd(function(theme) {
var tour = new Shepherd.Tour({
defaults: {
classes: theme,
scrollTo: false
}
});
tour.addStep('music', {
title: 'Music from lichess seeks',
text: "Blitz seeks play the clavier.<br>" +
"Classical and bullet play celesta.<br>" +
"Variants play the swells.<br>" +
"Rating determines the pitch.",
attachTo: '#hooks_wrap left',
buttons: [{
text: 'OK',
action: tour.next
}],
});
tour.start();
});
return {