]>
iEval git - gruntmaster-page.git/blob - js/10-modal.js
4 function show_modal () {
5 $('.modal').removeClass('hidden');
6 setTimeout(function (){
7 $('body').addClass('modal-open');
11 function hide_modal () {
12 $('body').removeClass('modal-open');
13 $('.modal').one('transitionend', function (){
14 $('.modal').addClass('hidden');
18 $( document
).ready(function() {
19 $('.backdrop,.modal').detach().appendTo('body');
20 $('#solution').on('click', function (e
){
24 $('.backdrop').on('click', hide_modal
);
25 window
.onkeyup = function (event
) {
26 if (event
.keyCode
=== 27)
This page took 0.040238 seconds and 4 git commands to generate.