From 131c8eec9cb081289099d5e2d4292e524853b39b Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Wed, 03 Jan 2018 10:33:08 +0000 Subject: [PATCH] Dialog schließen ergänzt --- app.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/app.js b/app.js index 6328a75..988d77e 100644 --- a/app.js +++ b/app.js @@ -17,8 +17,11 @@ } function app_nachricht_test() { + $(".close-btn").on('click', function() { + $('.close-btn').attr('onclick','').unbind('click'); + $('.dialog').slideUp(300); + }); $('.dialog').slideDown(300); - } /* --- Ajax-Aufrufe --- */ -- Gitblit v1.9.3