Fix broken timestamp replacement.
This commit is contained in:
@ -690,7 +690,7 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
|
||||
//
|
||||
// Make the timestamp readable in browser not supporting datetime-local.
|
||||
// Has no effect in those supporting it, as the timestamp is invalid in HTML5
|
||||
if($entryEditor.size() > 0) {
|
||||
if($('body').has('#serendipityEntry').size() > 0) {
|
||||
$('#serendipityNewTimestamp').val($('#serendipityNewTimestamp').val().replace("T", " "));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user