]>
iEval git - gruntmaster-page.git/blob - js/10-modal.js
30da26750d149e2fcb210fcab835605cb53c4861
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.040897 seconds and 3 git commands to generate.