mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
fix lint
This commit is contained in:
@@ -5,7 +5,7 @@ import { getGalaxyInstance } from "app";
|
||||
import { Toast } from "ui/toast";
|
||||
import mod_library_model from "mvc/library/library-model";
|
||||
import mod_library_libraryrow_view from "mvc/library/library-libraryrow-view";
|
||||
import linkifyJq from 'linkifyjs/jquery';
|
||||
import linkifyJq from "linkifyjs/jquery";
|
||||
|
||||
linkifyJq($, document);
|
||||
|
||||
@@ -133,12 +133,12 @@ var LibraryListView = Backbone.View.extend({
|
||||
Galaxy.libraries.libraryToolbarView.renderPaginator(this.options);
|
||||
}
|
||||
const $center_tooltip_el = $('#center [data-toggle="tooltip"]');
|
||||
if (!$center_tooltip_el.attr('title')) {
|
||||
$center_tooltip_el.tooltip({trigger: "hover"});
|
||||
if (!$center_tooltip_el.attr("title")) {
|
||||
$center_tooltip_el.tooltip({ trigger: "hover" });
|
||||
$("#center").css("overflow", "auto");
|
||||
}
|
||||
// linkify description
|
||||
$('[description=true]').linkify();
|
||||
$("[description=true]").linkify();
|
||||
},
|
||||
|
||||
fetchDeleted: function () {
|
||||
|
||||
@@ -4,7 +4,6 @@ import Backbone from "backbone";
|
||||
import { Toast } from "ui/toast";
|
||||
import { getGalaxyInstance } from "app";
|
||||
|
||||
|
||||
// galaxy library row view
|
||||
var LibraryRowView = Backbone.View.extend({
|
||||
events: {
|
||||
@@ -67,7 +66,7 @@ var LibraryRowView = Backbone.View.extend({
|
||||
this.$el.find('[data-toggle="tooltip"]').tooltip({ trigger: "hover" });
|
||||
|
||||
// linkify new description, after its change
|
||||
$('[description=true]').linkify();
|
||||
$("[description=true]").linkify();
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user