diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-09-06 22:47:29 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-09-06 22:47:29 +0200 |
commit | 74fba0a817b414579f3223ac508b4fdb8faced98 (patch) | |
tree | dca966416c200e7b929a1b170b83be0e90095d5e /client/components | |
parent | 54bc9d0dcbd9c2a0c3099a9ae46126fb1b81779d (diff) | |
download | wekan-74fba0a817b414579f3223ac508b4fdb8faced98.tar.gz wekan-74fba0a817b414579f3223ac508b4fdb8faced98.tar.bz2 wekan-74fba0a817b414579f3223ac508b4fdb8faced98.zip |
Fix a recurrent English typo
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/boards/boardHeader.js | 4 | ||||
-rw-r--r-- | client/components/lists/listBody.js | 4 | ||||
-rw-r--r-- | client/components/sidebar/sidebar.jade | 2 | ||||
-rw-r--r-- | client/components/sidebar/sidebar.js | 6 | ||||
-rw-r--r-- | client/components/sidebar/sidebarFilters.jade | 4 | ||||
-rw-r--r-- | client/components/sidebar/sidebarFilters.js | 8 |
6 files changed, 14 insertions, 14 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index f98b6eef..f259b2a6 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -126,7 +126,7 @@ BlazeComponent.extendComponent({ this.visibilityMenuIsOpen.set(false); }, - toogleVisibilityMenu() { + toggleVisibilityMenu() { this.visibilityMenuIsOpen.set(!this.visibilityMenuIsOpen.get()); }, @@ -151,7 +151,7 @@ BlazeComponent.extendComponent({ 'click .js-select-visibility'() { this.setVisibility(this.currentData()); }, - 'click .js-change-visibility': this.toogleVisibilityMenu, + 'click .js-change-visibility': this.toggleVisibilityMenu, submit: this.onSubmit, }]; }, diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index cc8c94cc..2e00cb4f 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -67,7 +67,7 @@ BlazeComponent.extendComponent({ if (MultiSelection.isActive() || evt.shiftKey) { evt.stopImmediatePropagation(); evt.preventDefault(); - const methodName = evt.shiftKey ? 'toogleRange' : 'toogle'; + const methodName = evt.shiftKey ? 'toggleRange' : 'toggle'; MultiSelection[methodName](this.currentData()._id); // If the card is already selected, we want to de-select it. @@ -87,7 +87,7 @@ BlazeComponent.extendComponent({ toggleMultiSelection(evt) { evt.stopPropagation(); evt.preventDefault(); - MultiSelection.toogle(this.currentData()._id); + MultiSelection.toggle(this.currentData()._id); }, events() { diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade index a09f6a20..e7cd1159 100644 --- a/client/components/sidebar/sidebar.jade +++ b/client/components/sidebar/sidebar.jade @@ -1,6 +1,6 @@ template(name="sidebar") .board-sidebar.sidebar(class="{{#if isOpen}}is-open{{/if}}") - a.sidebar-tongue.js-toogle-sidebar( + a.sidebar-tongue.js-toggle-sidebar( class="{{#if isTongueHidden}}is-hidden{{/if}}") i.fa.fa-angle-left .sidebar-content.js-board-sidebar-content.js-perfect-scrollbar diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index ccc7e5aa..eff0ef52 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -44,7 +44,7 @@ BlazeComponent.extendComponent({ } }, - toogle() { + toggle() { this._isOpen.set(!this._isOpen.get()); }, @@ -96,7 +96,7 @@ BlazeComponent.extendComponent({ // XXX Hacky, we need some kind of `super` const mixinEvents = this.getMixin(Mixins.InfiniteScrolling).events(); return mixinEvents.concat([{ - 'click .js-toogle-sidebar': this.toogle, + 'click .js-toggle-sidebar': this.toggle, 'click .js-back-home': this.setView, }]); }, @@ -129,7 +129,7 @@ Template.memberPopup.helpers({ Template.memberPopup.events({ 'click .js-filter-member'() { - Filter.members.toogle(this.userId); + Filter.members.toggle(this.userId); Popup.close(); }, 'click .js-change-role': Popup.open('changePermissions'), diff --git a/client/components/sidebar/sidebarFilters.jade b/client/components/sidebar/sidebarFilters.jade index 26e49aba..c894bc8b 100644 --- a/client/components/sidebar/sidebarFilters.jade +++ b/client/components/sidebar/sidebarFilters.jade @@ -22,7 +22,7 @@ template(name="filterSidebar") if isActive with getUser userId li(class="{{#if Filter.members.isSelected _id}}active{{/if}}") - a.name.js-toogle-member-filter + a.name.js-toggle-member-filter +userAvatar(userId=this._id) span.sidebar-list-item-description = profile.fullname @@ -59,7 +59,7 @@ template(name="multiselectionSidebar") if isActive with getUser userId li(class="{{#if Filter.members.isSelected _id}}active{{/if}}") - a.name.js-toogle-member-multiselection + a.name.js-toggle-member-multiselection +userAvatar(userId=this._id) span.sidebar-list-item-description = profile.fullname diff --git a/client/components/sidebar/sidebarFilters.js b/client/components/sidebar/sidebarFilters.js index 7fce7286..335cc7d6 100644 --- a/client/components/sidebar/sidebarFilters.js +++ b/client/components/sidebar/sidebarFilters.js @@ -7,12 +7,12 @@ BlazeComponent.extendComponent({ return [{ 'click .js-toggle-label-filter'(evt) { evt.preventDefault(); - Filter.labelIds.toogle(this.currentData()._id); + Filter.labelIds.toggle(this.currentData()._id); Filter.resetExceptions(); }, - 'click .js-toogle-member-filter'(evt) { + 'click .js-toggle-member-filter'(evt) { evt.preventDefault(); - Filter.members.toogle(this.currentData()._id); + Filter.members.toggle(this.currentData()._id); Filter.resetExceptions(); }, 'click .js-clear-all'(evt) { @@ -85,7 +85,7 @@ BlazeComponent.extendComponent({ }, }); }, - 'click .js-toogle-member-multiselection'(evt) { + 'click .js-toggle-member-multiselection'(evt) { const memberId = this.currentData()._id; const mappedSelection = this.mapSelection('member', memberId); let operation; |