diff options
author | MaZderMind | 2017-05-25 16:09:26 +0200 |
---|---|---|
committer | MaZderMind | 2017-05-25 16:09:26 +0200 |
commit | aa2bf877af8ce1a5dd0ace6f26fab02cf6985753 (patch) | |
tree | 648dd32421e4a962f5769d816bb0b28586378792 /configs/conferences/gpn17/gema-nach-hause.js | |
parent | ad26c3038f99d7c4a042ccae65788424b182c9b6 (diff) |
gema-nach-hause-support
Diffstat (limited to '')
-rw-r--r-- | configs/conferences/gpn17/gema-nach-hause.js | 36 |
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); |