From 39dac41b661c65c0d14d19e08d185fcc56f6d87b Mon Sep 17 00:00:00 2001 From: j Date: Sat, 16 Jan 2016 14:30:16 +0530 Subject: [PATCH] cleanup --- static/js/appDialog.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/static/js/appDialog.js b/static/js/appDialog.js index d276e48..3ed85f1 100644 --- a/static/js/appDialog.js +++ b/static/js/appDialog.js @@ -56,11 +56,9 @@ oml.ui.appDialog = function() { $content.append(oml.ui.contactForm()); } else { Ox.get('/static/html/app.html', function(html) { - var $html = $('
'), - strings = {}; - $html.html(Ox.formatString(html, strings)); - var section = $html.find('#' + id).html(); - $content.html('

' + title + '

' + section + '

'); + var $html = $('
').html(html), + section = $html.find('#' + id).html(); + $content.html('

' + title + '

' + section); }); } $('
')