mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 08:32:58 +00:00
Fix for calling undefined function.
Reviewed by me.
This commit is contained in:
1 parent
e174edd0dc
commit
d2df0919a5
1 file changed
+1
-1
@@ -270,7 +270,7 @@ CPRunContinuesResponse = -1002;
|
||||
postNotificationName:CPApplicationWillFinishLaunchingNotification
|
||||
object:self];
|
||||
|
||||
var filename = window.cpOpeningFilename(),
|
||||
var filename = window.cpOpeningFilename && window.cpOpeningFilename(),
|
||||
needsUntitled = !!_documentController;
|
||||
|
||||
if ([filename length])
|
||||
|
||||
Reference in new issue
Block a user