pathName is undefined when not found instead of 0

This commit is contained in:
bootstraponline
2012-08-30 11:18:02 -03:00
parent eb2ad9f840
commit bb6fb0c253
@@ -74,10 +74,6 @@ var create = $.key( 'create' );
var pageName = $.key( 'page' );
var pathName = $.key( 'path' );
if ( pathName === 0 ) {
pathName = undefined;
}
defaultCommitMessage = function() {
var msg = pageName + ' (markdown)';