Authored by weiqingting

兼容990

@@ -5,8 +5,9 @@ var $contain = $('.slide-accordion'); @@ -5,8 +5,9 @@ var $contain = $('.slide-accordion');
5 var $item = $contain.find('li'); 5 var $item = $contain.find('li');
6 6
7 var $width = $item.width(); 7 var $width = $item.width();
8 -var $spn=parseInt($('.home-page').width())==1150 ? (120 + 5) : (102 + 5); 8 +var $spn = parseInt($('.home-page').width()) === 1150 ? (120 + 5) : (102 + 5);
9 var slide; 9 var slide;
  10 +
10 function switchfun(to) { 11 function switchfun(to) {
11 $item.each(function(index) { 12 $item.each(function(index) {
12 if (index <= to) { 13 if (index <= to) {