From 0e666f2094fd46048bffbb7cc4092590d1b53aee Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Sun, 9 Feb 2014 21:25:54 +0330 Subject: [PATCH] Update check --- Web/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/js/main.js b/Web/js/main.js index e63e680..8ea2568 100644 --- a/Web/js/main.js +++ b/Web/js/main.js @@ -93,7 +93,7 @@ $(document).ready(function() { request.onsuccess = function() { var app = this.result[0]; var latest = $.ajax({url:'manifest-web.webapp'}); - latest.onsuccess = function() { + latest.onload = function() { if( this.response ) { var lapp = JSON.parse(this.response); console.log(lapp.version);