Skip to content

Commit

Permalink
final product
Browse files Browse the repository at this point in the history
  • Loading branch information
robedgecombe committed Nov 21, 2014
1 parent fe6aaeb commit 205fcd5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/controllers/RestartController.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ RestartController.prototype = {
console.log("active = ", activeElement)
var startElement = $("#start")
console.log("start = ", startElement)
startElement.addClass('active')
activeElement.removeClass('active')
activeElement.addClass('path')
activeElement.removeClass('active')
startElement.addClass('active')


// this.model.moves = 0
var activeElement2 = $(".active2")
console.log("active2 = ", activeElement2)
var startElement2 = $("#start2")
console.log("start = ", startElement2)
startElement2.addClass('active2')
activeElement2.addClass('path')
activeElement2.removeClass('active2')
activeElement2.addClass('path')
startElement2.addClass('active2')



},
Expand Down

0 comments on commit 205fcd5

Please sign in to comment.