diff --git a/chromebook-checkout-meteor/client/chromebook.js b/chromebook-checkout-meteor/client/chromebook.js index c48a267..49d74d4 100644 --- a/chromebook-checkout-meteor/client/chromebook.js +++ b/chromebook-checkout-meteor/client/chromebook.js @@ -37,7 +37,7 @@ Template.chromebook.events({ Chromebooks.update(this._id, {$set: {last_checkout: null}}); Chromebooks.update(this._id, {$set: {userid: null}}); } - } + }, 'click .cross': function() { if (Roles.userIsInRole(Meteor.userId(), ['admin'])) { Router.go('/admin');