Cas9 & Cpf1 secretion
and activity
Line 3,824: | Line 3,824: | ||
else | else | ||
{ | { | ||
− | var section = $$(".section[data-url='" + page + "']")[0]; | + | if($$(".section[data-url='" + page + "']").length == 0) |
− | + | key = "home"; | |
− | + | else | |
+ | { | ||
+ | var section = $$(".section[data-url='" + page + "']")[0]; | ||
+ | |||
+ | if(typeof section.up(".sections") !== "undefined") | ||
+ | key = section.up(".sections").getAttribute("data-key"); | ||
+ | else | ||
+ | key = "home"; | ||
+ | } | ||
} | } | ||
Revision as of 01:02, 2 November 2017
<!DOCTYPE html>
×