Fixing mistaken push
This commit is contained in:
parent
6e8376f9fd
commit
4ceba29164
@ -133,7 +133,7 @@ const linkStackScroll = () => {
|
|||||||
|
|
||||||
// This function was originally defined alone inside client/lib/toggleDialog.js
|
// This function was originally defined alone inside client/lib/toggleDialog.js
|
||||||
// and has been moved here to avoid circular dependency issues.
|
// and has been moved here to avoid circular dependency issues.
|
||||||
const toggleDialog = (e =>lement) {
|
const toggleDialog = element => {
|
||||||
const $element = $(element);
|
const $element = $(element);
|
||||||
if($element.is('dialog')) {
|
if($element.is('dialog')) {
|
||||||
if (element.hasAttribute('open')) {
|
if (element.hasAttribute('open')) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user