cleanup
This commit is contained in:
parent
5860bc0e72
commit
39dac41b66
1 changed files with 3 additions and 5 deletions
|
@ -56,11 +56,9 @@ oml.ui.appDialog = function() {
|
|||
$content.append(oml.ui.contactForm());
|
||||
} else {
|
||||
Ox.get('/static/html/app.html', function(html) {
|
||||
var $html = $('<div>'),
|
||||
strings = {};
|
||||
$html.html(Ox.formatString(html, strings));
|
||||
var section = $html.find('#' + id).html();
|
||||
$content.html('<h1><b>' + title + '</b></h1><p>' + section + '</p>');
|
||||
var $html = $('<div>').html(html),
|
||||
section = $html.find('#' + id).html();
|
||||
$content.html('<h1><b>' + title + '</b></h1>' + section);
|
||||
});
|
||||
}
|
||||
$('<div>')
|
||||
|
|
Loading…
Reference in a new issue