From 9f3f337dec521b9f355ef70f0454cb814be96ac0 Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Sat, 28 Mar 2020 11:42:16 +0800 Subject: [PATCH] fix --- app/assets/javascripts/cancer_predict.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/cancer_predict.js b/app/assets/javascripts/cancer_predict.js index 60fc961..52355d5 100644 --- a/app/assets/javascripts/cancer_predict.js +++ b/app/assets/javascripts/cancer_predict.js @@ -19,8 +19,8 @@ $(document).ready(function(){ return Math.round(Number(num)*(10**Digit))/(10**Digit); }; head_data.done(function(){ - $('.header-nav').html(head_images.responseJSON['head_images']); - $('.navbar-brand').html(head_images.responseJSON['title']); + $('.header-nav').html(head_data.responseJSON['head_images']); + $('.navbar-brand').html(head_data.responseJSON['title']); data['danger_texts'] = head_data.responseJSON['danger_texts']; $('head title').text(head_data.responseJSON['page_title']) });