SVG fix
MODIFY
js/views/cfi_navigation_logic.js
js/views/cfi_navigation_logic.js
@@ -1366,6 +1366,12 @@ var CfiNavigationLogic = function(options) {
function isElementBlacklisted(element) {
var isBlacklisted = false;
var classAttribute = element.className;
+ // check for SVGAnimatedString
+ if (classAttribute && typeof classAttribute.animVal !== "undefined") {
+ classAttribute = classAttribute.animVal;
+ } else if (classAttribute && typeof classAttribute.baseVal !== "undefined") {
+ classAttribute = classAttribute.baseVal;
+ }
var classList = classAttribute ? classAttribute.split(' ') : [];
var id = element.id;

SVG fix https://github.com/readium/readium-js-viewer/issues/621