From 1b34833f7c3ff21e476d0c7468084f1888f42cc7 Mon Sep 17 00:00:00 2001 From: Nokita Kaze Date: Mon, 24 Nov 2014 16:40:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=95=D0=A1=D0=A2=20=D0=A1=D0=95=D0=9A?= =?UTF-8?q?=D0=A3=D0=A0=D0=95=D0=A2=D0=95=20=D0=9F=D0=A0=D0=90=D0=9A=D0=A2?= =?UTF-8?q?=D0=95=D0=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chrome_point_plus/js/point-plus.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome_point_plus/js/point-plus.js b/chrome_point_plus/js/point-plus.js index b7c7ef7..2b7eab8 100644 --- a/chrome_point_plus/js/point-plus.js +++ b/chrome_point_plus/js/point-plus.js @@ -16,7 +16,7 @@ $(document).ready(function() { var new_div = document.createElement('div'); $(new_div).attr({ 'data-point-plus-version': getVersion() - }).addClass('point-plus-debug').html('Point+ v' + getVersion() + ' loading...'); + }).addClass('point-plus-debug').text('Point+ v' + getVersion() + ' loading...'); var obj = $('#user-menu-cb')[0]; obj.parentElement.insertBefore(new_div, obj); new_div = null; @@ -732,11 +732,11 @@ function set_posts_count_label() { if (typeof(answer.list[id]) == 'undefined') { return; } - $(e1).addClass('authors_unique_count').html(answer.list[id].count_comment_unique).attr('title', 'Количество комментаторов'); + $(e1).addClass('authors_unique_count').text(answer.list[id].count_comment_unique).attr('title', 'Количество комментаторов'); postid.appendChild(e1); var e2 = document.createElement('span'); - $(e2).addClass('recommendation_count').html('~' + answer.list[id].count_recommendation).attr('title', 'Количество рекомендаций. Работает криво, спасибо @arts\'у за это'); + $(e2).addClass('recommendation_count').text('~' + answer.list[id].count_recommendation).attr('title', 'Количество рекомендаций. Работает криво, спасибо @arts\'у за это'); postid.appendChild(e2); }); } @@ -930,7 +930,7 @@ function draft_save_check() { return; } // @todo i18n - $('.draft_save_status').html('Сохраняем черновик...').show(); + $('.draft_save_status').text('Сохраняем черновик...').show(); // Сохраняем draft_last_text=current_text; @@ -938,7 +938,7 @@ function draft_save_check() { chrome.storage.sync.set({'point_draft_text': draft_last_text}, function() { // Notify that we saved. draft_save_busy=false; - $('.draft_save_status').html('Черновик сохранён...'); + $('.draft_save_status').text('Черновик сохранён...'); setTimeout(function(){ $('.draft_save_status').fadeOut(500); }, 1000);