Stom moving after leaving sim page.

This commit is contained in:
Juho Teperi
2013-05-07 12:22:13 +03:00
parent 55cc20ec96
commit 9c414d8389
4 changed files with 10 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ Template.editing.owner = function () {
return user.profile.name;
};
init_edit = function init_edit() {
window.init_edit = function init_edit() {
Meteor.autorun(function () {
if (Session.equals('page', 'edit') && Session.get('route')) {