Browse Source

Re-enable custom scrollbar.

Nathaniel van Diepen 11 years ago
parent
commit
1104d1425e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      js/index.js

+ 3 - 3
js/index.js

@@ -158,7 +158,7 @@
 				});
 			},
 			scroll: function(selector){
-				/*if(!$.support.touch){
+				if(!$.support.touch){
 					$(selector).mCustomScrollbar('destroy');
 					$(selector).mCustomScrollbar({
 						theme: 'dark-2',
@@ -170,10 +170,10 @@
 							autoScrollOnFocus: true
 						}
 					});
-				}else{*/
+				}else{
 					$(selector).mCustomScrollbar('destroy');
 					$(selector).css('overflow','auto');
-				// }
+				}
 			}
 		};
 	if(exists($.cookie('key'))){