summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/UICaboodle/BrowserView.m b/UICaboodle/BrowserView.m
index d2a97c8..e7dd58b 100644
--- a/UICaboodle/BrowserView.m
+++ b/UICaboodle/BrowserView.m
@@ -352,7 +352,7 @@
}
- (void) webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame {
- if ([self _allowJavaScriptPanel])
+ if (![self _allowJavaScriptPanel])
return;
UIActionSheet *sheet = [[[UIActionSheet alloc]