|
@@ -82,10 +82,11 @@ var myModal = new bootstrap.Modal(document.getElementById('history'), {
|
|
|
function load_data(){
|
|
|
var title = document.getElementById("title");
|
|
|
var linker = document.getElementById("linker");
|
|
|
- linker.setAttribute('href', loaded_data.find(item => item.id == tid).link)
|
|
|
+
|
|
|
myModal.hide()
|
|
|
tid = event.srcElement.id
|
|
|
console.log(tid);
|
|
|
+ linker.setAttribute('href', loaded_data.find(item => item.id == tid).link)
|
|
|
$(".title_new").val(loaded_data.find(item => item.id == tid).name)
|
|
|
var step;
|
|
|
for (step = 1; step <= 10; step++) {
|