1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

Fixed: Add pagination support to the emote menu's data loader (#507)

* Fix emote menu not loading more than 100 subscription benefits
* Implement @last support in .get

Modify `curr_cursor` to use the new get @last modifier
This commit is contained in:
Lordmau5 2018-08-17 04:38:39 +02:00 committed by Mike
parent db2c7918d5
commit 6518c8e7a4
2 changed files with 14 additions and 3 deletions

View file

@ -201,7 +201,9 @@ export function get(path, object) {
break;
} else
} else if ( part === '@last' )
object = object[object.length - 1];
else
object = object[path[i]];
if ( ! object )