mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 03:57:08 -04:00
Update deps. Fix lint issues.
This commit is contained in:
parent
8e143a4607
commit
641d9b3cfa
6 changed files with 10 additions and 12 deletions
|
@ -21,7 +21,7 @@ modulejs.define('ext/peer5', ['_', '$', 'core/settings'], function (_, $, allset
|
|||
|
||||
// attach to file items, once the DOM is ready
|
||||
$(function () {
|
||||
$('body').on('click', '.item.file > a', function (ev) {
|
||||
$('body').on('click', '.item.file > a', function (ev) { // eslint-disable-line consistent-return
|
||||
if (window.peer5) {
|
||||
ev.preventDefault();
|
||||
var url = ev.currentTarget.href;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue