LambdaIITH/AIMS-Helper-Chrome

Download PDF Button not working

Closed this issue · 3 comments

Describe the bug
Download PDF should be using client-side generated HTML code, but actually uses the source reference.

Screenshots

image
User Side HTML code




image
src/table.html file (screenshot taken from Inspect Element)





image
src/table.js that uses 'getElementById("timetable")' actually refers to the table.html file which is empty and then causes a download of blank Timetable

@angad11121, do you want to take up this issue?

I tried at that time, but couldn't fix it. I've found a solution now. Will try to do so!

@angad11121 Do let us know if you can still reproduce this.