Make share btn future proof
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -195,7 +195,7 @@ share_js = """async () => {
|
|
195 |
});
|
196 |
|
197 |
const paramsStr = params.toString();
|
198 |
-
window.open(
|
199 |
|
200 |
shareBtnEl.style.removeProperty('pointer-events');
|
201 |
shareIconEl.style.removeProperty('display');
|
|
|
195 |
});
|
196 |
|
197 |
const paramsStr = params.toString();
|
198 |
+
window.open(`${window.location.href}/discussions/new?${paramsStr}`, '_blank');
|
199 |
|
200 |
shareBtnEl.style.removeProperty('pointer-events');
|
201 |
shareIconEl.style.removeProperty('display');
|