Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit b9c44a5

Browse files
authored
Merge pull request #355 from googlecodelabs/preview-issue
Fix small issue with the google preview button
2 parents 87c08e5 + ec1a5c3 commit b9c44a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

codelab-elements/google-codelab/google_codelab.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ class Codelab extends HTMLElement {
756756
if ('userfeedback' in window) {
757757
window['userfeedback']['api']['startFeedback']
758758
({'productId': '5143948'});
759+
e.preventDefault();
759760
}
760761
});
761762
}

0 commit comments

Comments
 (0)