diff --git a/src/webui/www/public/scripts/contextmenu.js b/src/webui/www/public/scripts/contextmenu.js
index 5b57ee559..1bbd0f0bd 100644
--- a/src/webui/www/public/scripts/contextmenu.js
+++ b/src/webui/www/public/scripts/contextmenu.js
@@ -293,7 +293,7 @@ var TorrentsTableContextMenu = new Class({
var categoryList = $('contextCategoryList');
categoryList.empty();
categoryList.appendChild(new Element('li', {html: '
QBT_TR(New...)QBT_TR'}));
- categoryList.appendChild(new Element('li', {html: '
QBT_TR(Reset)QBT_TR'}));
+ categoryList.appendChild(new Element('li', {html: '
QBT_TR(Reset)QBT_TR'}));
var sortedCategories = []
Object.each(category_list, function (category) {
@@ -304,7 +304,7 @@ var TorrentsTableContextMenu = new Class({
var first = true;
Object.each(sortedCategories, function (categoryName) {
var categoryHash = genHash(categoryName);
- var el = new Element('li', {html: '
' + escapeHtml(categoryName) + ''});
+ var el = new Element('li', {html: '
' + escapeHtml(categoryName) + ''});
if (first) {
el.addClass('separator');
first = false;
diff --git a/src/webui/www/public/scripts/mocha-init.js b/src/webui/www/public/scripts/mocha-init.js
index 1833cadc3..86895c5dc 100644
--- a/src/webui/www/public/scripts/mocha-init.js
+++ b/src/webui/www/public/scripts/mocha-init.js
@@ -323,7 +323,7 @@ initializeWindows = function() {
}
};
- updateCategoryFN = function (categoryHash) {
+ setCategoryFN = function (categoryHash) {
var categoryName = '';
if (categoryHash != 0)
var categoryName = category_list[categoryHash].name;