simplify condition #1434
This commit is contained in:
		@@ -2798,7 +2798,7 @@
 | 
			
		||||
				horizontalOffsetMultiplier = config.parallaxBackgroundHorizontal;
 | 
			
		||||
			}
 | 
			
		||||
			else {
 | 
			
		||||
				horizontalOffsetMultiplier = ( horizontalSlideCount-1  > 0) ? ( backgroundWidth - slideWidth ) / ( horizontalSlideCount-1 ) : 0;
 | 
			
		||||
				horizontalOffsetMultiplier = horizontalSlideCount > 1 ? ( backgroundWidth - slideWidth ) / ( horizontalSlideCount-1 ) : 0;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			horizontalOffset = horizontalOffsetMultiplier * indexh * -1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user