cek 8 years ago
parent
commit
0b813f899f
2 changed files with 6 additions and 6 deletions
  1. 1 1
      app/scripts/arkiwi.js
  2. 5 5
      app/scripts/main.js

+ 1 - 1
app/scripts/arkiwi.js

@@ -25,7 +25,7 @@ ARKIWI.Arkiwi = function (aggregator, assetStore, defaultParameters, formName, s
     this.sessionId = '';
 
     if ($('#arkiwi_hidden_iframe').length == 0)
-        $(document.body).append('<iframe id="arkiwi_hidden_iframe" name="arkiwi_hidden_iframe" src="about:blank" style="display: none;"></iframe>');
+        $(document.body).append('<iframe id="arkiwi_hidden_iframe" name="arkiwi_hidden_iframe" src="about:blank" style="visibility: hidden;"></iframe>');
 };
 
 ARKIWI.Arkiwi.constructor = ARKIWI.Arkiwi;

+ 5 - 5
app/scripts/main.js

@@ -13,13 +13,13 @@
  This file is the main entry point for js on the arkiwiJsBoilerplate app.
  --------------------------------------------------------------------------------------------------------------------- */
 $(document).ready(function () {
-    var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org');
+    var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org', 'http://upload.arkiwi.org');
     $.get("templates/list.txt", function (template) {
 
-	arkiwi.path("XM24", function (listone) {
-	var dioporco = Mustache.render(template, listone);
-	$(".row").append(dioporco);
-	},true);
+    arkiwi.path("XM24", function (listone) {
+    var dioporco = Mustache.render(template, listone);
+    $(".row").append(dioporco);
+    },true);