Commits

Udi Bauman committed 3f49cc1

fixed a bug in tutorial tips

  • Participants
  • Parent commits f102bc0

Comments (0)

Files changed (2)

File client/ekkli.html

 					<span class="tip-text">{{tip_text}}</span>
 				</td>
 				<td>
-					{{#unless arrow_side_left}}<img id="tutorial_tip_arrow" src="/curved_arrow_{{arrow_direction}}.png" width="40px">{{/unless}}
+					{{#if arrow_side_right}}<img id="tutorial_tip_arrow" src="/curved_arrow_{{arrow_direction}}.png" width="40px">{{/if}}
 				</td>
 			</tr>
 			<tr>

File client/ekkli.js

 				},
 				onLinkCreated: function(event, from, to) {
 					console.log(to);
-					showTutorialTip("#inviteUsers", "Map creation", "You master the basics now! to invite others to this map, click here", "up", "left", 50, 150);
+					showTutorialTip("#createMap", "Map creation", "Congrats! You've built your first map.", "", "", 50, 200);
 					this.finishTutorial();
 				},
 				onTutorialFinished: function(event, from, to) {
 	},
 	arrow_side_left: function() {
 		return Session.equals("tutorial_tip_arrow_side", "left");
+	},
+	arrow_side_right: function() {
+		return Session.equals("tutorial_tip_arrow_side", "right");
 	}
+
 });