Commit e6ef51a2 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4851d31a
$(document).ready(function() { $(document).ready(function() {
var switched = false; var switched = false;
var updateTables = function() { var updateTables = function() {
if (($(window).width() < 767) && !switched ){ if (($(window).width() < 2000) && !switched ){
switched = true; switched = true;
$("table.responsive").each(function(i, element) { $("table.responsive").each(function(i, element) {
splitTable($(element)); splitTable($(element));
}); });
return true; return true;
} }
else if (switched && ($(window).width() > 767)) { else if (switched && ($(window).width() > 2000)) {
switched = false; switched = false;
$("table.responsive").each(function(i, element) { $("table.responsive").each(function(i, element) {
unsplitTable($(element)); unsplitTable($(element));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment