diff --git a/apps/spreadsheeteditor/mobile/app/view/Statusbar.js b/apps/spreadsheeteditor/mobile/app/view/Statusbar.js index 18009dce1..c8b6e3996 100644 --- a/apps/spreadsheeteditor/mobile/app/view/Statusbar.js +++ b/apps/spreadsheeteditor/mobile/app/view/Statusbar.js @@ -90,8 +90,8 @@ define([ var $el = tab.get('el'); if ( $el ) { var rightbound = this.$boxTabs.width(); - var left = tab.position().left, - right = left + parseInt(tab.css('width')); + var left = $el.position().left, + right = left + parseInt($el.css('width')); if (left < 0) { this.$boxTabs.scrollLeft(/*this.$boxTabs.scrollLeft() + */left - 26);