mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
Merge "Correctly update locally cached seenTime"
This commit is contained in:
commit
8c9692e980
|
@ -297,9 +297,9 @@
|
|||
// Normalize if using 'all'
|
||||
types = type === 'all' ? [ 'alert', 'message' ] : [ type ];
|
||||
|
||||
for ( i = 0; i < type.length; i++ ) {
|
||||
for ( i = 0; i < types.length; i++ ) {
|
||||
// Update all types
|
||||
this.seenTime[ type[ i ] ] = time;
|
||||
this.seenTime[ types[ i ] ] = time;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue