Commit c72b0a8a authored by 神楽坂玲奈's avatar 神楽坂玲奈

disable candy

parent 6c7b43b3
...@@ -28,6 +28,7 @@ $(document).ready -> ...@@ -28,6 +28,7 @@ $(document).ready ->
resources: '/vendor/stylesheets/candy/', resources: '/vendor/stylesheets/candy/',
language: 'cn' language: 'cn'
) )
if window.location.href.indexOf("candy") != -1
Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998') Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998')
#$('#username').val '@my-card.in' #$('#username').val '@my-card.in'
#$('#username').focus() #$('#username').focus()
......
...@@ -71,7 +71,9 @@ ...@@ -71,7 +71,9 @@
language: 'cn' language: 'cn'
} }
}); });
if (window.location.href.indexOf("candy") !== -1) {
Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998'); Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998');
}
rooms = new Rooms({ rooms = new Rooms({
el: $('#rooms') el: $('#rooms')
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment