From 8b0df725a148a114fa1098e493d4fd7d706fc94a Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 10 Nov 2017 08:01:04 -0500 Subject: [PATCH] minor code review (#2072) --- src/js/i18n.js | 2 +- src/popup.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/i18n.js b/src/js/i18n.js index 66d4becad..c4ef90cd8 100644 --- a/src/js/i18n.js +++ b/src/js/i18n.js @@ -165,7 +165,7 @@ vAPI.i18n.render = function(context) { .replace(/
/g, '\n') .replace(/\n{3,}/g, '\n\n'); elem.setAttribute('data-tip', text); - if ( elem.getAttribute('aria-label') === 'data-i18n-tip' ) { + if ( elem.getAttribute('aria-label') === 'data-tip' ) { elem.setAttribute('aria-label', text); } } diff --git a/src/popup.html b/src/popup.html index e36e0327d..522d1814d 100644 --- a/src/popup.html +++ b/src/popup.html @@ -17,8 +17,8 @@

- - + +