Fixing mistaken push

This commit is contained in:
Eloízio Salgado 2017-01-18 16:54:39 -02:00 committed by Emanuel F. Oliveira
parent 6e8376f9fd
commit 4ceba29164

View File

@ -133,7 +133,7 @@ const linkStackScroll = () => {
// This function was originally defined alone inside client/lib/toggleDialog.js
// and has been moved here to avoid circular dependency issues.
const toggleDialog = (e =>lement) {
const toggleDialog = element => {
const $element = $(element);
if($element.is('dialog')) {
if (element.hasAttribute('open')) {