From 7492036445594b5edc194b3c5f290228cb84c4f6 Mon Sep 17 00:00:00 2001 From: Jeena Date: Sat, 7 Jun 2014 16:40:07 +0200 Subject: [PATCH] added Score limit --- static/html/index.html | 1 + static/js/menu.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/static/html/index.html b/static/html/index.html index 06038d3..6b7399a 100644 --- a/static/html/index.html +++ b/static/html/index.html @@ -28,6 +28,7 @@

Create your own!

+

Maps
    diff --git a/static/js/menu.js b/static/js/menu.js index 6dc6234..b924ab4 100644 --- a/static/js/menu.js +++ b/static/js/menu.js @@ -247,9 +247,12 @@ function create(channelName, callback) { levelUids: maps, maxUsers: 10, minUsers: 2, - scoreLimit: 10 + scoreLimit: parseInt($("#scoreLimit").value, 10) } + console.log(options) + return + localStorage["customname"] = channelName; var xhr = new XMLHttpRequest();