aboutsummaryrefslogtreecommitdiff
path: root/configs/conferences/gpn17/gema-nach-hause.js
diff options
context:
space:
mode:
Diffstat (limited to 'configs/conferences/gpn17/gema-nach-hause.js')
-rw-r--r--configs/conferences/gpn17/gema-nach-hause.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/configs/conferences/gpn17/gema-nach-hause.js b/configs/conferences/gpn17/gema-nach-hause.js
new file mode 100644
index 0000000..e049c29
--- /dev/null
+++ b/configs/conferences/gpn17/gema-nach-hause.js
@@ -0,0 +1,36 @@
+function handleLoungeStreamWhichActuallyDoesNotExist()
+{
+ function gema1() {
+ $('#gemaModal1')
+ .modal()
+ .find('.btn[data-gema=yes]').on('click', function() {
+ $('#gemaModal1').modal('hide')
+ gema3();
+ })
+ .end()
+ .find('.btn[data-gema=no]').on('click', function() {
+ $('#gemaModal1').modal('hide')
+ gema2();
+ })
+ }
+
+ function gema2() {
+ $('#gemaModal2')
+ .modal()
+ .find('.btn').on('click', function() {
+ $('#gemaModal2').modal('hide')
+ gema3();
+ })
+ }
+
+ function gema3() {
+ $('#gemaModal3').modal()
+ }
+
+ $('.room-lounge a').on('click', function(e) {
+ e.preventDefault();
+ gema1();
+ });
+}
+
+$(handleLoungeStreamWhichActuallyDoesNotExist);