luci-app-*: use default poll interval
[project/luci.git] / applications / luci-app-wireguard / luasrc / view / wireguard.htm
index 6ec9ddb3684f295fa5db8b16d3c7f9d66d537982..53968da1da51e12b95cf53dcb9a90a52ccbb3ade 100644 (file)
                }
        }
 
-       XHR.poll(5, '<%=REQUEST_URI%>', { status: 1 },
+       XHR.poll(-1, '<%=REQUEST_URI%>', { status: 1 },
        function(x, data) {
                for (var key in data) {
                        if (!data.hasOwnProperty(key)) { continue; }