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

disable candy

parent 6c7b43b3
......@@ -28,7 +28,8 @@ $(document).ready ->
resources: '/vendor/stylesheets/candy/',
language: 'cn'
)
Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998')
if window.location.href.indexOf("candy") != -1
Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998')
#$('#username').val '@my-card.in'
#$('#username').focus()
rooms = new Rooms(el: $('#rooms'))
......
......@@ -71,7 +71,9 @@
language: 'cn'
}
});
Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998');
if (window.location.href.indexOf("candy") !== -1) {
Candy.Core.connect('zh99998测试80@my-card.in', 'zh112998');
}
rooms = new 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