From b93523d9a5c6e49fa89c730ac1292ada6d10e971 Mon Sep 17 00:00:00 2001 From: cri Date: Sun, 13 Sep 2015 01:07:30 +0200 Subject: [PATCH] add data-type --- app/scripts/main_list_item_id.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/scripts/main_list_item_id.js b/app/scripts/main_list_item_id.js index bf44254..32b7e2b 100644 --- a/app/scripts/main_list_item_id.js +++ b/app/scripts/main_list_item_id.js @@ -16,8 +16,9 @@ $(document).ready(function () { var iframe_id = $(window.frameElement).attr("data-arkiwi-id"); //console.log(iframe_id); - - + var iframe_type = "audio" + var iframe_type = $(window.frameElement).attr("data-arkiwi-type"); + console.log(iframe_type); var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org', 'http://upload.arkiwi.org'); /* $.get("templates/list_item_id.txt", function (template) {