summaryrefslogtreecommitdiff
path: root/protocols/WebView/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WebView/src/webview.cpp')
-rw-r--r--protocols/WebView/src/webview.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/protocols/WebView/src/webview.cpp b/protocols/WebView/src/webview.cpp
index 87e5baf4a1..2075151f90 100644
--- a/protocols/WebView/src/webview.cpp
+++ b/protocols/WebView/src/webview.cpp
@@ -299,12 +299,10 @@ int OptInitialise(WPARAM wParam, LPARAM)
g_plugin.addOptions(wParam, &odp);
// if popup service exists
- if ((ServiceExists(MS_POPUP_ADDPOPUPW))) {
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUP);
- odp.szGroup.a = LPGEN("Popups");
- odp.pfnDlgProc = DlgPopUpOpts;
- g_plugin.addOptions(wParam, &odp);
- }
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUP);
+ odp.szGroup.a = LPGEN("Popups");
+ odp.pfnDlgProc = DlgPopUpOpts;
+ g_plugin.addOptions(wParam, &odp);
return 0;
}