Vulcan/client/main.js
2015-03-28 18:38:20 +09:00

15 lines
392 B
JavaScript

// Session variables
Session.set('postsLimit', Settings.get('postsPerPage', 10));
// Sort postModules array position using modulePositions as index
postModules = _.sortBy(postModules, 'order');
postHeading = _.sortBy(postHeading, 'order');
postMeta = _.sortBy(postMeta, 'order');
Meteor.startup(function () {
$('#rss-link').attr('title', i18n.t('new_posts'));
});
// AutoForm.debug();