We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf7dc2 commit d426b47Copy full SHA for d426b47
1 file changed
assets/javascripts/lib/util.js
@@ -457,13 +457,13 @@ $.noop = function () {};
457
458
$.popup = function (value) {
459
try {
460
+ window.open(value.href || value, "_blank", "noopener");
461
+ } catch (error) {
462
const win = window.open();
463
if (win.opener) {
464
win.opener = null;
465
}
466
win.location = value.href || value;
- } catch (error) {
- window.open(value.href || value, "_blank");
467
468
};
469
0 commit comments