From 1215dc402752d4b47cffcc62dc15b954343be345 Mon Sep 17 00:00:00 2001 From: psurch Date: Thu, 3 Dec 2015 11:13:07 -0800 Subject: [PATCH] a tag added class attribute as an option --- dist/jquery.localize.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/jquery.localize.js b/dist/jquery.localize.js index 90f65fc..add5814 100644 --- a/dist/jquery.localize.js +++ b/dist/jquery.localize.js @@ -131,6 +131,7 @@ http://keith-wood.name/localisation.html localizeForSpecialKeys = function(elem, value) { setAttrFromValueForKey(elem, "title", value); setAttrFromValueForKey(elem, "href", value); + setAttrFromValueForKey(elem, "class", value); return setTextFromValueForKey(elem, "text", value); }; localizeOptgroupElement = function(elem, key, value) {