diff options
Diffstat (limited to 'js/src/navigation.js')
-rw-r--r-- | js/src/navigation.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/js/src/navigation.js b/js/src/navigation.js index d37a34fa5e..c7550521ea 100644 --- a/js/src/navigation.js +++ b/js/src/navigation.js @@ -389,8 +389,8 @@ Navigation.onload = () => function () { $img .removeClass('ic_s_unlink') .addClass('ic_s_link') - .attr('alt', Messages.linkWithMain) - .attr('title', Messages.linkWithMain); + .attr('alt', window.Messages.linkWithMain) + .attr('title', window.Messages.linkWithMain); $('#pma_navigation_tree') .removeClass('synced') .find('li.selected') @@ -399,8 +399,8 @@ Navigation.onload = () => function () { $img .removeClass('ic_s_link') .addClass('ic_s_unlink') - .attr('alt', Messages.unlinkWithMain) - .attr('title', Messages.unlinkWithMain); + .attr('alt', window.Messages.unlinkWithMain) + .attr('title', window.Messages.unlinkWithMain); $('#pma_navigation_tree').addClass('synced'); Navigation.showCurrent(); } @@ -1102,18 +1102,18 @@ Navigation.ResizeHandler = function () { $collapser .css(this.left, pos + resizerWidth) .html(this.getSymbol(pos)) - .prop('title', Messages.strShowPanel); + .prop('title', window.Messages.strShowPanel); } else if (windowWidth > 768) { $collapser .css(this.left, pos) .html(this.getSymbol(pos)) - .prop('title', Messages.strHidePanel); + .prop('title', window.Messages.strHidePanel); $('#pma_navigation_resizer').css({ 'width': '3px' }); } else { $collapser .css(this.left, windowWidth - 22) .html(this.getSymbol(100)) - .prop('title', Messages.strHidePanel); + .prop('title', window.Messages.strHidePanel); $('#pma_navigation').width(windowWidth); $('body').css('margin-' + this.left, '0px'); $('#pma_navigation_resizer').css({ 'width': '0px' }); |