Skip to content

Commit

Permalink
Fix typo that loads messages when popup is requested (#182)
Browse files Browse the repository at this point in the history
Messages were not being loaded and rendered as expected due to a typo.

Bug: T334766
  • Loading branch information
cimurah committed Oct 17, 2023
1 parent ab0f0b7 commit 6fe078b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class Api {
* @return {jQuery.Promise}
*/
fetchMessages() {
if ( !this.promiseCache.messagses ) {
this.promiseCache.messagses = this.mwApi.loadMessages( [
if ( !this.promiseCache.messages ) {
this.promiseCache.messages = this.mwApi.loadMessages( [
'parentheses-start',
'talkpagelinktext',
'pipe-separator',
Expand Down

0 comments on commit 6fe078b

Please sign in to comment.