});
try {
this.fluidbook.cart.instance.updateIcon();
- }catch (e) {
-
+ } catch (e) {
+
}
} else if (icon == 'lang' && this.fluidbook.l10n.multilangEnabled) {
// Note: the "!" at the beginning of the title/help parameters means that we don't want these strings translated
success: function (data) {
var n1 = extraNPerURL[this.url];
var svg = $(data).find('svg');
+ // Fix #2111
+ $(svg).wrapInner('<g />');
var viewbox = $(svg).attr('viewBox');
var maing = $(svg).children('g').eq(0);
if ($("#extra-extra" + n1).length == 0) {