Skip to content

Commit bd62853

Browse files
committed
Merge pull request nwjs#914 from SamLiu79/remove_alert_title
remove alert title on OSX
2 parents c22d1b8 + 555c700 commit bd62853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/shell_javascript_dialog_mac.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ - (void)cancel {
126126
}
127127
[alert setDelegate:helper_];
128128
[alert setInformativeText:base::SysUTF16ToNSString(message_text)];
129-
[alert setMessageText:@"Javascript alert"];
129+
[alert setMessageText:@""];
130130
[alert addButtonWithTitle:@"OK"];
131131
if (!one_button) {
132132
NSButton* other = [alert addButtonWithTitle:@"Cancel"];

0 commit comments

Comments
 (0)