1
0
Fork 0

Added local dev app config. Close #55

This commit is contained in:
magnolia-fan 2011-06-17 23:26:03 +04:00
parent 7e0db9074e
commit a66300c8e4
3 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,7 @@
$(function(){
if (document.location.host != 'beathaven.org' && document.location.host != 'localhost') {
document.location.href = 'http://beathaven.org/demo/';
}
beathaven.init();
$(window).resize(beathaven.adjustSizes)
window.setTimeout(beathaven.checkRedrawScrollbar, 500);

View File

@ -15,7 +15,7 @@ function authInfo(response) {
}
$(function(){
VK.init({
apiId: 2335068,
apiId: (document.location.host == 'beathaven.org' ? 2335068 : 2383163),
nameTransportPath: "/demo/xd_receiver.html"
});
VK.Auth.getLoginStatus(authInfo);

View File

@ -12,6 +12,7 @@ body {
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
cursor: default;
}
#header-container {