diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-10-23 16:56:55 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-10-23 16:56:55 +0200 |
commit | 31b60d82fcae64a844805a2a76a0af25fb9c16c2 (patch) | |
tree | a82d7d6e6097f67215406ea47a11671292a4dc7b /client/components/users | |
parent | b3696e1e3b366770af8c41861b5cf996cdd2378a (diff) | |
download | wekan-31b60d82fcae64a844805a2a76a0af25fb9c16c2.tar.gz wekan-31b60d82fcae64a844805a2a76a0af25fb9c16c2.tar.bz2 wekan-31b60d82fcae64a844805a2a76a0af25fb9c16c2.zip |
Upgrade Meteor to 1.2.1-rc4
This version includes a more complete selection of ES2015 polyfills
that I started used across the code base, for instance by replacing
`$.trim(str)` by `str.trim()`.
Diffstat (limited to 'client/components/users')
-rw-r--r-- | client/components/users/userHeader.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js index a7382769..7d35c1b9 100644 --- a/client/components/users/userHeader.js +++ b/client/components/users/userHeader.js @@ -18,9 +18,9 @@ Template.memberMenuPopup.events({ Template.editProfilePopup.events({ submit(evt, tpl) { evt.preventDefault(); - const fullname = $.trim(tpl.find('.js-profile-fullname').value); - const username = $.trim(tpl.find('.js-profile-username').value); - const initials = $.trim(tpl.find('.js-profile-initials').value); + const fullname = tpl.find('.js-profile-fullname').value.trim(); + const username = tpl.find('.js-profile-username').value.trim(); + const initials = tpl.find('.js-profile-initials').value.trim(); Users.update(Meteor.userId(), {$set: { 'profile.fullname': fullname, 'profile.initials': initials, |