mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 06:25:18 -04:00
Small fixes and semantics.
This commit is contained in:
parent
3a92606e0c
commit
84be82d175
18 changed files with 81 additions and 83 deletions
|
@ -254,8 +254,8 @@ modulejs.define('ext/preview-txt', ['_', '$', 'core/settings', 'core/resource',
|
|||
|
||||
initItem = function (item) {
|
||||
|
||||
if (item.$extended && _.indexOf(_.keys(settings.types), item.type) >= 0) {
|
||||
item.$extended.find('a').on('click', function (event) {
|
||||
if (item.$view && _.indexOf(_.keys(settings.types), item.type) >= 0) {
|
||||
item.$view.find('a').on('click', function (event) {
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue