Closed HanryProper closed 9 months ago
It seems that due to the re-definition of mediaIndex on line 376 the value is not saved to the variable in the outside scope on line 351, causing the returned value to always be 0. Deleting the 'let' keyword seems to fix the issue.
PR 32 was created for this
https://github.com/y252328/Instagram_Download_Button/pull/32
It seems that due to the re-definition of mediaIndex on line 376 the value is not saved to the variable in the outside scope on line 351, causing the returned value to always be 0. Deleting the 'let' keyword seems to fix the issue.