aboutsummaryrefslogtreecommitdiff
path: root/configs/archive/gpn17/gema-nach-hause.js
diff options
context:
space:
mode:
Diffstat (limited to 'configs/archive/gpn17/gema-nach-hause.js')
-rw-r--r--configs/archive/gpn17/gema-nach-hause.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/configs/archive/gpn17/gema-nach-hause.js b/configs/archive/gpn17/gema-nach-hause.js
new file mode 100644
index 0000000..2c3856e
--- /dev/null
+++ b/configs/archive/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();
+ location.href = "https://broadcast.fem.tu-ilmenau.de/events/gpn17/";
+ });
+}
+
+$(handleLoungeStreamWhichActuallyDoesNotExist);