Changeset View
Changeset View
Standalone View
Standalone View
swh/web/assets/src/bundles/browse/swh-ids-utils.js
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | $(document).ready(() => { | ||||
}); | }); | ||||
if (window.innerWidth * 0.7 > 1000) { | if (window.innerWidth * 0.7 > 1000) { | ||||
$('#swh-identifiers').css('width', '1000px'); | $('#swh-identifiers').css('width', '1000px'); | ||||
} | } | ||||
let tabSlideOptions = { | let tabSlideOptions = { | ||||
tabLocation: 'right', | tabLocation: 'right', | ||||
clickScreenToCloseFilters: ['.ui-slideouttab-panel', '.modal'], | |||||
offset: function() { | offset: function() { | ||||
const width = $(window).width(); | const width = $(window).width(); | ||||
if (width < BREAKPOINT_SM) { | if (width < BREAKPOINT_SM) { | ||||
return '250px'; | return '250px'; | ||||
} else { | } else { | ||||
return '200px'; | return '200px'; | ||||
} | } | ||||
} | } | ||||
Show All 19 Lines |