summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/index.html b/index.html
index 80b8b11..e73392f 100644
--- a/index.html
+++ b/index.html
@@ -250,7 +250,11 @@
document.getElementById('pizza' + id).style.width = d + "cm";
document.getElementById('pizza' + id).style.height= d + "cm";
- document.getElementById('pizza' + id).style.border= r + "cm solid rgb(230, 219, 128)";
+ if ( r ) {
+ document.getElementById('pizza' + id).style.border= r + "cm solid rgb(230, 219, 128)";
+ } else {
+ document.getElementById('pizza' + id).style.border = 0;
+ }
document.body.style.zoom = 1.0;
if ( 0 != r ) {
@@ -294,7 +298,7 @@
}
}
- if ( "" != rec ) {
+ if ( rec ) {
// Zeig Empfehlung an
document.getElementById('rec').classList.remove("hidden");
document.getElementById('rec').innerHTML = rec;