2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

new ios6 Style fixes:

- ios6touchpad.js calculation of columns when menu is toggled
- readings column fix

git-svn-id: https://svn.fhem.de/fhem/trunk@18943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Blackcat 2019-03-17 13:30:39 +00:00
parent 5dc6dc0215
commit 84ab86a6b4

View File

@ -65,8 +65,12 @@ $(document).ready(function() {
var toggleMenuOnFHEMIcon = function() { var toggleMenuOnFHEMIcon = function() {
if ($("body").hasClass("hideMenu")) { if ($("body").hasClass("hideMenu")) {
recalculateStyleWithMenu(); recalculateStyleWithMenu();
resetcolumns();
calccolumns();
} else { } else {
recalculateStyleWithoutMenu(); recalculateStyleWithoutMenu();
resetcolumns();
calccolumns();
} }
}; };
@ -135,7 +139,7 @@ $(document).ready(function() {
// Berechnung der hinteren Spalten // Berechnung der hinteren Spalten
maxwidthtd.forEach(function(column, index){ maxwidthtd.forEach(function(column, index){
if(column > 260) { if(column > 260) {
column = 260; maxwidthtd[index] = 260;
} }
innertablewidth=innertablewidth-column-10; innertablewidth=innertablewidth-column-10;
}); });