mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-21 17:54:29 -08:00
use this instead of self
This commit is contained in:
parent
cb4700fc19
commit
5882ea6ce7
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ Module.register('MMM-pages', {
|
|||
* Optional and only used when we want to switch to a hidden page
|
||||
*/
|
||||
animatePageChange: function (targetPageName) {
|
||||
let lockStringObj = { lockString: self.identifier };
|
||||
let lockStringObj = { lockString: this.identifier };
|
||||
if (!this.config.useLockString) {
|
||||
// Passing in an undefined object is equivalent to not passing it in at
|
||||
// all, effectively providing only one arg to the hide and show calls
|
||||
|
|
Loading…
Reference in a new issue