Fix link to blog items not working

This commit is contained in:
Pablo Vazquez 2016-09-30 17:16:34 +02:00
parent dd58d4ad04
commit d1d48553e5

View File

@ -112,7 +112,7 @@ script.
| {% if project.nodes_latest %} | {% if project.nodes_latest %}
.node-updates .node-updates
h3 Latest Updates h3 Latest Assets
ul.node-updates-list ul.node-updates-list
| {% for n in project.nodes_latest %} | {% for n in project.nodes_latest %}
| {% if n.node_type not in ['comment'] %} | {% if n.node_type not in ['comment'] %}
@ -176,7 +176,7 @@ script.
$(function() { $(function() {
montage(); montage();
$(".node-updates-list-item, .node-blog-list-item") $(".node-updates-list-item")
.unbind('click') .unbind('click')
.click(function(e) { .click(function(e) {
e.preventDefault(); e.preventDefault();