mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-19 14:55:01 +00:00
Fix for calling undefined function.
Reviewed by me.
This commit is contained in:
1 parent
b378a4d0fa
commit
8a1c1b931f
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