summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Orlicky <orlickymario@gmail.com>2016-11-25 21:53:18 +0100
committerMario Orlicky <orlickymario@gmail.com>2016-11-25 21:53:18 +0100
commit35778d26737c5ca1702c6c1f3ca1be0a90a9e8b8 (patch)
tree3e62370989fce1c5066e9f349fff1790fd03b7b6
parent606dbbbbf2e5ef4bccaadc4584d05c67d7148fc8 (diff)
downloadwekan-35778d26737c5ca1702c6c1f3ca1be0a90a9e8b8.tar.gz
wekan-35778d26737c5ca1702c6c1f3ca1be0a90a9e8b8.tar.bz2
wekan-35778d26737c5ca1702c6c1f3ca1be0a90a9e8b8.zip
fixed few overseights
-rw-r--r--client/components/main/layouts.styl1
-rw-r--r--client/components/users/userHeader.js2
-rw-r--r--models/users.js2
3 files changed, 2 insertions, 3 deletions
diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl
index 13834644..38fd83ec 100644
--- a/client/components/main/layouts.styl
+++ b/client/components/main/layouts.styl
@@ -1,4 +1,3 @@
-
@import 'nib'
global-reset()
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js
index 65b7e8c3..98053ed1 100644
--- a/client/components/users/userHeader.js
+++ b/client/components/users/userHeader.js
@@ -106,7 +106,7 @@ Template.changeSettingsPopup.events({
},
'click .js-apply-show-cards-at'(evt, tpl) {
evt.preventDefault();
- const minLimit = parseInt(tpl.$('#show-cards-count-at').val());
+ const minLimit = parseInt(tpl.$('#show-cards-count-at').val(), 10);
if (!isNaN(minLimit)) {
Meteor.call('changeLimitToShowCardsCount', minLimit);
Popup.back();
diff --git a/models/users.js b/models/users.js
index 278d069c..58513231 100644
--- a/models/users.js
+++ b/models/users.js
@@ -315,7 +315,7 @@ Meteor.methods({
changeLimitToShowCardsCount(limit) {
check(limit, Number);
Meteor.user().setShowCardsCountAt(limit);
- }
+ },
});
if (Meteor.isServer) {