diff options
Diffstat (limited to 'public/javascripts/jstoolbar')
-rw-r--r-- | public/javascripts/jstoolbar/jstoolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/jstoolbar/jstoolbar.js b/public/javascripts/jstoolbar/jstoolbar.js index dccff9952..4f5ab7306 100644 --- a/public/javascripts/jstoolbar/jstoolbar.js +++ b/public/javascripts/jstoolbar/jstoolbar.js @@ -453,7 +453,7 @@ jsToolBar.prototype.resizeDragStop = function(event) { /* Code highlighting menu */ jsToolBar.prototype.precodeMenu = function(fn){ - var hlLanguages = ["c", "cpp", "csharp", "css", "diff", "go", "groovy", "html", "java", "javascript", "objc", "perl", "php", "python", "r", "ruby", "sass", "scala", "shell", "sql", "swift", "xml", "yaml"]; + var hlLanguages = window.userHlLanguages; var menu = $("<ul style='position:absolute;'></ul>"); for (var i = 0; i < hlLanguages.length; i++) { $("<li></li>").text(hlLanguages[i]).appendTo(menu).mousedown(function(){ |