diff options
author | M.Gergo | 2019-03-08 20:51:30 +0100 |
---|---|---|
committer | M.Gergo | 2019-03-08 20:51:30 +0100 |
commit | c76a004b0135786f2742283f8d5f917106f58bd8 (patch) | |
tree | 9d824a86cd5f92c45461d7b4f8160b27527b4f7d /mayor-orig/www/skin/classic/module-naplo/javascript | |
parent | 3dab26c6797b32926287f22a041380080551060b (diff) | |
download | mayor-c76a004b0135786f2742283f8d5f917106f58bd8.tar.gz mayor-c76a004b0135786f2742283f8d5f917106f58bd8.zip |
Rev: 4455
Diffstat (limited to 'mayor-orig/www/skin/classic/module-naplo/javascript')
-rw-r--r-- | mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js | 17 |
1 files changed, 17 insertions, 0 deletions
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(); + }); + +}); |