Cardosaum / anki-addons

My addon contribuitions
GNU General Public License v2.0
2 stars 3 forks source link

fixes TypeError of the setShortcuts method #4

Open mlcivilengineer opened 2 years ago

mlcivilengineer commented 2 years ago

setShortcuts() expects an array and throws a TypeError from the way it is used. I propose the change of the method to the singular form, as only one shortcut is being set, fixing the TypeError bug.

Cardosaum commented 1 year ago

Awesome @mlcivilengineer, thanks for the contribution!

I'll perform some local checks and update the published addon :+1: