File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 327327 // Note that the crumbs shown always overflow the parent width
328328 // (except, of course, when they all fit in).
329329 while ( this . $el . find ( this . hiddenCrumbSelector ) . length > 0
330- && this . getTotalWidth ( ) <= this . $el . parent ( ) . width ( ) ) {
330+ && Math . round ( this . getTotalWidth ( ) ) <= Math . round ( this . $el . parent ( ) . width ( ) ) ) {
331331 this . _showCrumb ( ) ;
332332 }
333333
343343
344344 // If container is smaller than content
345345 // AND if there are crumbs left to hide
346- while ( this . getTotalWidth ( ) > availableWidth
346+ while ( Math . round ( this . getTotalWidth ( ) ) > Math . round ( availableWidth )
347347 && this . $el . find ( this . crumbSelector ) . length > 0 ) {
348348 // As soon as one of the crumbs is hidden the menu will be
349349 // shown. This is needed for proper results in further width
You can’t perform that action at this time.
0 commit comments