client/client.js
// Check if the path indicator overflows and scroll it if necessary
Check if the path indicator overflows and scroll it if necessary
Check if the path indicator overflows and scroll it if necessary
function checkPathOverflow(view) {
    var width = 40,
      space = view[0].clientWidth;
    view.find(".path li.in").each(function() {
      width += $(this)[0].clientWidth;
    });
    view.find(".path li").each(function() {
      this.style.left = width > space ? (space - width) + "px" : 0;
    });
  }
function checkPathOverflow ( view ) { var width = 40 , space = view [ 0 ] . clientWidth ; view . find ( ".path li.in" ) . each ( function ( ) { width += $ ( this ) [ 0 ] . clientWidth ; } ) ; view . find ( ".path li" ) . each ( function ( ) { this . style . left = width > space ? ( space - width ) + "px" : 0 ; } ) ; }
Check if the path indicator overflows and scroll it if necessary
Check if the path indicator overflows and scroll it if necessary