mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
fixed a bug in template parsing
This commit is contained in:
@@ -81,9 +81,9 @@ var ajaxify = {};
|
||||
callback();
|
||||
}
|
||||
|
||||
app.process_page();
|
||||
|
||||
jQuery('#content, #footer').stop(true, true).fadeIn(200, function () {
|
||||
|
||||
app.process_page();
|
||||
if (window.location.hash)
|
||||
hash = window.location.hash;
|
||||
if (hash)
|
||||
|
||||
@@ -182,7 +182,6 @@
|
||||
|
||||
translator.translate(templates[tpl_url].parse(template_data), function (translatedTemplate) {
|
||||
document.getElementById('content').innerHTML = translatedTemplate;
|
||||
});
|
||||
|
||||
jQuery('#content [template-variable]').each(function (index, element) {
|
||||
var value = null;
|
||||
@@ -206,6 +205,7 @@
|
||||
if (callback) {
|
||||
callback(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
}
|
||||
|
||||
.recent-replies {
|
||||
overflow-y: auto;
|
||||
overflow-y: hidden;
|
||||
overflow-x: hidden;
|
||||
|
||||
ul {
|
||||
@@ -126,7 +126,6 @@
|
||||
li {
|
||||
clear: both;
|
||||
line-height: 17px;
|
||||
margin-bottom: 1em;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user