Skip to content

Commit

Permalink
Fix tremendous bug found thanks to comment on Marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
Adán Sánchez de Pedro Crespo committed Jul 27, 2013
1 parent 59e191a commit 53d7ecb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion main.htm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h2>Just kidding. LOQUI is free forever!</h2>
</div>
<div>
<h1>LOQUI version</h1>
<h2>You are running <em>LOQUI Pre-Alpha v0.0.10</em></h2>
<h2>You are running pre-alpha <em data-var='version'></em></h2>
</div>
</div>
</article>
Expand Down
2 changes: 1 addition & 1 deletion scripts/waalt/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var App = {

version: '009',
version: 'v0.0.11',
connected: false,

default: {
Expand Down
5 changes: 5 additions & 0 deletions scripts/waalt/bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ document.addEventListener("visibilitychange", function() {
}
});

$$('[data-var]').each(function () {
var key = $$(this).data('var');
var value = App[key];
$$(this).text(value);
});

/* This is a provisional workaround until misterious bug concerning text inputs is solved */

Expand Down
5 changes: 2 additions & 3 deletions scripts/waalt/messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,10 @@ var Messenger = {
Messenger.chats.splice(index, 1);
Messenger.chats.push(temp);
Store.simple('mchats', Messenger.chats);
if (li) {
console.log("Moviendo...");
if (li.length) {
ul.prepend(li.outerHTML);
li.remove();
} else console.log("No hay ná que mover...");
}
},

chatDelete: function (jid) {
Expand Down

0 comments on commit 53d7ecb

Please sign in to comment.