summaryrefslogtreecommitdiff
path: root/tests/thumbnail.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/thumbnail.html')
-rw-r--r--tests/thumbnail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/thumbnail.html b/tests/thumbnail.html
index 008fb329..52f57218 100644
--- a/tests/thumbnail.html
+++ b/tests/thumbnail.html
@@ -95,10 +95,10 @@
$.get("http://api.bootswatch.com/3/", function (data) {
var menuTemplate = "<div id='menu' style='position:fixed;top:10px;right:10px;'><select>{{#.}}<option data-description='{{description}}'>{{name}}</option>{{/.}}</select></div>",
- menuHTML = Mustache.render(menuTemplate, data.themes);
+ menuHTML = Mustache.render(menuTemplate, data.themes);
$('body').append(menuHTML);
-
+
$('#menu').change(function(){
var theme = $('#menu :selected');
$('#theme').text(theme.text());