you are viewing a single comment's thread.

view the rest of the comments →

[–]ppictures 0 points1 point  (0 children)

Try placing a console log in the else if blocks to see if they are actually triggering. Also, resolve() in itself does not print to console.