Skip to content

Commit e75b8ab

Browse files
committed
fixed error where wifi popup would call handle_photo()
1 parent e22fcf0 commit e75b8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ $('video').on('loadeddata', function( event, ui ) {
159159
}, dataType="json");
160160
});
161161

162-
$(document).on( "click", 'a[data-rel="popup"]', function( event ) {
162+
$(document).on( "click", 'li.ui-li-has-thumb', function( event ) {
163163
var src = "/photos/" + $(this).find('img').attr('data-src');
164164
$('#popup-photo').find('img').attr('src', src);
165165
$('#popup-video').find('video').attr('src', src);

0 commit comments

Comments
 (0)