Update check

This commit is contained in:
Mahdi Dibaiee 2014-02-09 21:25:54 +03:30
parent d2f96774be
commit 0e666f2094

View File

@ -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);