1
0

Fix broken timestamp replacement.

This commit is contained in:
Matthias Mees
2013-07-08 16:32:45 +02:00
parent d277684331
commit 8bb91a070e

View File

@ -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", " "));
}