From 1761b3ba2ab92023384af39f75858132ff97ce41 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 21 Jun 2018 12:16:28 +0200 Subject: [PATCH] fix #2111 @0.75 --- js/libs/fluidbook/fluidbook.nav.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.nav.js b/js/libs/fluidbook/fluidbook.nav.js index a58dca8b..65c3edb2 100644 --- a/js/libs/fluidbook/fluidbook.nav.js +++ b/js/libs/fluidbook/fluidbook.nav.js @@ -429,8 +429,8 @@ FluidbookNav.prototype = { }); 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 @@ -520,6 +520,8 @@ FluidbookNav.prototype = { success: function (data) { var n1 = extraNPerURL[this.url]; var svg = $(data).find('svg'); + // Fix #2111 + $(svg).wrapInner(''); var viewbox = $(svg).attr('viewBox'); var maing = $(svg).children('g').eq(0); if ($("#extra-extra" + n1).length == 0) { -- 2.39.5