Commit 0e652066 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+debug line

parent a6ac5c0d
...@@ -27,7 +27,7 @@ function parseURL(){ ...@@ -27,7 +27,7 @@ function parseURL(){
$(function(){ $(function(){
$.ajax({ $.ajax({
url: "http://192.168.0.9:2323", url: location.host+":2323",
success: function(){ success: function(){
console.log("success"); console.log("success");
} }
...@@ -54,6 +54,8 @@ function handleImage(e) { ...@@ -54,6 +54,8 @@ function handleImage(e) {
reader.onload = function(event){ reader.onload = function(event){
//$("#smallimage").attr("src",event.target.result); //$("#smallimage").attr("src",event.target.result);
console.log("File loaded");
$("#jp4view").html(""); $("#jp4view").html("");
var view = $("<div>",{id:"img"}); var view = $("<div>",{id:"img"});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment