From 1c93131dd9cffb7aa22cdf46e9c9791416c894c0 Mon Sep 17 00:00:00 2001 From: Cat Date: Mon, 26 Aug 2013 16:21:13 +0200 Subject: [PATCH] LSP: refix poort = '' ipv 0 --- lsp/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lsp/main.js b/lsp/main.js index 39b3c310..665a87c6 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -586,6 +586,9 @@ { //turn all numbers into integers $(this).val(Math.floor($(this).val())); + if ($(this).val() == 0) { + $(this).val(''); + } } } });