Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions carousel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,9 @@ <h2>Get market information and alerts anytime, anywhere.</h2>
</div>
</div>
<script type="text/javascript">
if (iamInfo) {
// Disable vertical-drag-to-dismiss since it might mistakenly occur when horizontally
// dragging to visit the next page
iamInfo.shouldVerticalDragDismissMessage = false;
}
// Disable vertical-drag-to-dismiss since it might mistakenly occur when horizontally
// dragging to visit the next page
OneSignalIamApi.disableVerticalDragToDismiss();

var config = {
autoScrollDuration: "0.5s",
Expand Down
7 changes: 4 additions & 3 deletions check_list_survey/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,10 @@ <h2>Get better recommendations and other customized experience</h2>
</form>
</div>
<script>
if (iamInfo) {
iamInfo.shouldVerticalDragDismissMessage = false;
}
// Disable vertical-drag-to-dismiss since it might mistakenly occur when horizontally
// dragging to visit the next page
OneSignalIamApi.disableVerticalDragToDismiss();

// Your code here
document
.querySelector(".close-button")
Expand Down