jQuery(document).ready(function ($) { var themeVersion = '2.6'; // Check für JS-Installation entfernen $('#hdr').addClass('js-installed'); // Add version to logo $('#logo').append( $('' + themeVersion + '') ); // Clear spaces $('#content .devType, #menu .room a').each(function() { $(this).html($(this).html().replace(/ /g, '')); }); $('#content > br').remove(); $('.makeSelect').parent().find('br').remove(); // Add missing classes for elements $('.SVGplot').prevAll('a').addClass('plot-nav'); // Icon selection $('button.dist').wrapAll('
'); $('button.dist').css({width: '50px', height: '50px', margin: '5px', padding: '0'}); $('button.dist > *').css({maxWidth: '40px', maxHeight: '40px', display: 'block', margin: '0px auto'}); $('input[type=text][name=icon-filter]').keyup(function() { var val = $(this).val().toLowerCase(); if (val.length === 0) { jQuery('button.dist').show(); } else { jQuery('button.dist').hide().filter(function() { return $(this).attr('title').toLowerCase().indexOf(val) > -1; }).show(); } }); // Links in der Navigation hinzufügen var $navElement = jQuery('#menu .room').last().find('tbody'); $navElement.append( $('