diff --git a/index.html b/index.html index ac03cc4..d361df2 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@ - + @@ -2494,11 +2494,11 @@ // session.hidehome = true; // If used, 'hide home' will make the landing page inaccessible, along with hiding a few go-home elements. // session.record = false; // uncomment to block users from being able to record via vdo.ninja's built in recording function - + - + diff --git a/lib.js b/lib.js index 06198c4..681a7a2 100644 --- a/lib.js +++ b/lib.js @@ -34134,8 +34134,11 @@ addEventToAll(".column", 'click', function(e, ele) { if (ele.classList.contains("skip-animation")) { return; } - - var bounding_box = ele.getBoundingClientRect(); + try { + var bounding_box = ele.getBoundingClientRect(); + } catch(e){ + return; + } ele.style.top = bounding_box.top + "px"; ele.style.left = (bounding_box.left - 20) + "px"; ele.classList.add('in-animation');