Added local dev app config. Close #55
This commit is contained in:
		
							parent
							
								
									7e0db9074e
								
							
						
					
					
						commit
						a66300c8e4
					
				@ -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);
 | 
			
		||||
 | 
			
		||||
@ -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);
 | 
			
		||||
 | 
			
		||||
@ -12,6 +12,7 @@ body {
 | 
			
		||||
	-khtml-user-select: none;
 | 
			
		||||
	-webkit-user-select: none;
 | 
			
		||||
	user-select: none;
 | 
			
		||||
	cursor: default;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#header-container {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user