Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 41c6b25

Browse files
committed
A typo. It was a typo.
1 parent b4564da commit 41c6b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
172172

173173
_bindPageEvents: function(){
174174
var self = this;
175-
if( this.option.swipeClose ){
175+
if( !!this.options.swipeClose ){
176176
self.element
177177
// on swipe, close the panel (should swipe open too?)
178178
.on( "swipe.panel" , function( e ){

0 commit comments

Comments
 (0)