diff --git a/templates/zephyr/navbar.html b/templates/zephyr/navbar.html index 33f8eca0c3..78ca7a6d8d 100644 --- a/templates/zephyr/navbar.html +++ b/templates/zephyr/navbar.html @@ -66,14 +66,6 @@ Message formatting -
  • diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 37c562b402..70e53a165d 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -1576,41 +1576,6 @@ exports.set_presence_list = function (users, presence_info) { }); }; -function add_font_size(offset, name) { - var style = { - 'font-size': (14 + 3*offset) + 'px', - 'line-height': (20 + 3*offset) + 'px' - }; - - var entry = $('
  • ').append( - $('') - .text(name) - .css(style) - .click(function (e) { - $('body').css(style); - scroll_to_selected(); - e.preventDefault(); - })); - - $('#font_size_menu').append(entry); -} - -$(function () { - // Create font size menu entries - add_font_size(-1, 'Small' ); - add_font_size( 0, 'Medium' ); - add_font_size( 1, 'Large' ); - add_font_size( 3, 'Larger' ); - add_font_size( 5, 'Largest'); - - // The entry that produces the submenu has a href - // for style, but we don't want to navigate on click. - $('#font_size_menu_link').click(function (e) { - e.preventDefault(); - }); -}); - - // Save the compose content cursor position and restore when we // shift-tab back in (see hotkey.js). var saved_compose_cursor = 0;