From 04e1c9d201810b48e26d53e50acd31f92fb8c821 Mon Sep 17 00:00:00 2001 From: Anders G Date: Tue, 9 May 2017 17:37:25 +0200 Subject: [PATCH] Add missing ')'-characters to make syntax valid --- js/localization.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/localization.js b/js/localization.js index a0a11391..d472aefa 100644 --- a/js/localization.js +++ b/js/localization.js @@ -9,28 +9,28 @@ function localize() { return chrome.i18n.getMessage(messageID); }; - $('[i18n]:not(.i18n-replaced').each(function() { + $('[i18n]:not(.i18n-replaced)').each(function() { var element = $(this); element.html(translate(element.attr('i18n'))); element.addClass('i18n-replaced'); }); - $('[i18n_title]:not(.i18n_title-replaced').each(function() { + $('[i18n_title]:not(.i18n_title-replaced)').each(function() { var element = $(this); element.attr('title', translate(element.attr('i18n_title'))); element.addClass('i18n_title-replaced'); }); - $('[i18n_value]:not(.i18n_value-replaced').each(function() { + $('[i18n_value]:not(.i18n_value-replaced)').each(function() { var element = $(this); element.val(translate(element.attr('i18n_value'))); element.addClass('i18n_value-replaced'); }); - $('[i18n_placeholder]:not(.i18n_placeholder-replaced').each(function() { + $('[i18n_placeholder]:not(.i18n_placeholder-replaced)').each(function() { var element = $(this); element.attr('placeholder', translate(element.attr('i18n_placeholder')));