fixed skrollr for mobile, added skrollrbody option in init
This commit is contained in:
		@@ -300,7 +300,7 @@
 | 
			
		||||
 | 
			
		||||
      initCards('#home-v2 .panel-pane.news-panel .panel-col-first .views-row');
 | 
			
		||||
 | 
			
		||||
      if(!_max_480()){
 | 
			
		||||
      // if(!_max_480()){
 | 
			
		||||
 | 
			
		||||
        /*
 | 
			
		||||
        // Click Menu and scroll to part of the page
 | 
			
		||||
@@ -366,7 +366,9 @@
 | 
			
		||||
            .attr('data-'+i*50+'-center-center', 'opacity:1;');
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        _skrollr = skrollr.init();
 | 
			
		||||
        _skrollr = skrollr.init({
 | 
			
		||||
          skrollrBody:"root"
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        /*
 | 
			
		||||
        //The options (second parameter) are all optional. The values shown are the default values.
 | 
			
		||||
@@ -411,7 +413,7 @@
 | 
			
		||||
          updateUrl: false //defaults to `true`.
 | 
			
		||||
        });
 | 
			
		||||
        */
 | 
			
		||||
      }
 | 
			
		||||
      // }
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user