Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed May 31, 2017
1 parent 1c8a33c commit 94b83a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/views/cfi_navigation_logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 94b83a1

Please sign in to comment.