mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
panel click fix
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
function panelToggle(e, el) {
|
||||
if(el) {
|
||||
if(el.dataset.panelToggle) {
|
||||
if(el.dataset && el.dataset.panelToggle) {
|
||||
|
||||
var options = {
|
||||
direction: (el.dataset.panelDirection === "right" ? "right" : "left")
|
||||
|
||||
Reference in New Issue
Block a user