diff --git a/frappe/public/js/frappe/widgets/shortcut_widget.js b/frappe/public/js/frappe/widgets/shortcut_widget.js index 72e7e152e6..1e6c36c7c2 100644 --- a/frappe/public/js/frappe/widgets/shortcut_widget.js +++ b/frappe/public/js/frappe/widgets/shortcut_widget.js @@ -49,12 +49,7 @@ export default class ShortcutWidget extends Widget { } if (this.type == "URL") { - if (frappe.open_in_new_tab) { - window.open(this.url, "_blank"); - frappe.open_in_new_tab = false; - } else { - window.location.href = this.url; - } + window.open(this.url, "_blank"); return; }