From c76a004b0135786f2742283f8d5f917106f58bd8 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 20:51:30 +0100 Subject: Rev: 4455 --- .../javascript/orarend/szabadTerem.jquery.min.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js (limited to 'mayor-orig/www/skin/classic/module-naplo/javascript') diff --git a/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js b/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js new file mode 100644 index 00000000..55f50fc6 --- /dev/null +++ b/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js @@ -0,0 +1,17 @@ +$(function() { + + function isMobile() { // --TODO -- global namespace + try{ document.createEvent("TouchEvent"); return true; } + catch(e){ return false; } + } + + $('form.teremKereso span').on('click',function(event) { + var el = $(event.target); + var teremType = ($(el).data('c')); + $("table.orarend span[class='teremAdat "+teremType+"']").toggle(); + el.toggleClass('clk'); + console.log(teremType); + event.stopPropagation(); + }); + +}); -- cgit v1.2.3