Archived
1
0

fix js-init error

This commit is contained in:
onli
2013-06-16 19:57:26 +02:00
parent 6987468364
commit 8da2368e26

View File

@@ -676,7 +676,9 @@ function highlightComment(id, checkvalue) {
// Make the timestamp readable in browser not supporting datetime-local.
// Has no effect in those supporting it, as the timestamp is invalid in HTML5
$('#serendipityNewTimestamp').val($('#serendipityNewTimestamp').val().replace("T", " "));
if($entryEditor.size() > 0) {
$('#serendipityNewTimestamp').val($('#serendipityNewTimestamp').val().replace("T", " "));
}
// Set entry timestamp