pathName is undefined when not found instead of 0
This commit is contained in:
@@ -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)';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user