diff --git a/bolo-fantastic/article.ftl b/bolo-fantastic/article.ftl index 08a5301..b495ac0 100644 --- a/bolo-fantastic/article.ftl +++ b/bolo-fantastic/article.ftl @@ -92,7 +92,8 @@ height: 25px !important; } -
+
${article.articleContent}
@@ -187,6 +188,14 @@ } }, 3000) })**/ + $(document).ready(function(){ + var content = $("#post-article"); + var img_url = content.attr("data-img"); + if (content.html().trim().startsWith('

diff --git a/bolo-fantastic/footer.ftl b/bolo-fantastic/footer.ftl index 9bd9dfc..26d41db 100644 --- a/bolo-fantastic/footer.ftl +++ b/bolo-fantastic/footer.ftl @@ -84,7 +84,10 @@ $(document).ready(function(){ var img = $(this).find("img"); var w = img.width; var h = img.height; + var content = $("#post-article"); + var img_th = content.attr("data-img"); $(this).attr("href","javascript:void(0)"); + }); $(".gallery-item").on("click",function(){ var img = $(this).find("img");