Skip to content

Commit e4579de

Browse files
authored
remove JS to detect missing eventbrite iframe
1 parent 0ec4af3 commit e4579de

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

_includes/javascript.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@
3737
show_instructions();
3838
});
3939

40-
// detect misssing iframe for Eventbrite
41-
$(document).ready(function(){
42-
if ($('iframe').height() == 0) {
43-
$('iframe').before('<p>Looks like your adblocker blocked the registration window. Please navigate to <a href="https://www.eventbrite.com/tickets-external?eid={{page.eventbrite}}&ref=etckt">https://www.eventbrite.com/tickets-external?eid={{page.eventbrite}}&ref=etckt</a> to register.</p>');
44-
}
45-
});
46-
4740
// hide alerts when site is rendered on carpentries.github.io
4841
$(document).ready(function() {
4942
if (location.href.startsWith("https://carpentries.github.io/workshop-template/")) {

0 commit comments

Comments
 (0)