added chutier action link to indexes, fixe #543

This commit is contained in:
2019-11-13 17:03:46 +01:00
parent b72c6da623
commit 1447bb3ef9
12 changed files with 228 additions and 22 deletions
@@ -309,6 +309,12 @@
_$row.removeAttr('style').html($rendered);
}
// remove article is-active class is static content loaded
if ((data.entity_type == "node" && data.bundle == "static")
|| state.sys_path == "docsindex") {
$('.ajax-link.is-active.articles-link').removeClass('is-active');
}
// add body class for currently loaded content
var body_classes = [
'path-'+state.sys_path.replace(/\//g, '-'),