Commit b8770ba9 authored by Phil Hughes's avatar Phil Hughes

fixed karma failure

parent d86cbe69
......@@ -9,6 +9,8 @@ export const isSticky = (el, scrollY, stickyTop) => {
};
export default (el) => {
if (!el) return;
const computedStyle = window.getComputedStyle(el);
if (!/sticky/.test(computedStyle.position)) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment