googlearchive / paper-dialog

A dialog à la Material Design
19 stars 16 forks source link

Added checks for element existence in demo #55

Open winhowes opened 9 years ago

winhowes commented 9 years ago

I've added checks to make sure that the dialog elements exist in the demo when the buttons are clicked. This was brought to light by: https://github.com/Polymer/polymer/issues/1218

addyosmani commented 9 years ago

LGTM minus one comment.

winhowes commented 9 years ago

I've updated the code to reflect your suggestion