mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #10179 from ThomasdenH/patch-1
Change splice to pop in annotation tests
This commit is contained in:
commit
dc98bf76eb
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ describe('annotation', function() {
|
|||
|
||||
// Remove the last invalid flag for the next iteration.
|
||||
if (!valid) {
|
||||
flags -= invalidFieldFlags.splice(-1, 1);
|
||||
flags -= invalidFieldFlags.pop();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue