mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-05 08:28:45 +02:00
N°4631 - Update fullscreen class
This commit is contained in:
@@ -32,6 +32,9 @@ $(function()
|
||||
extra_tabs_list_toggler: '[data-role="ibo-tab-container--extra-tabs-list-toggler"]',
|
||||
extra_tabs_list: '[data-role="ibo-tab-container--extra-tabs-list"]',
|
||||
extra_tab_toggler: '[data-role="ibo-tab-container--extra-tab-toggler"]',
|
||||
global: {
|
||||
fullscreen_elements: '.ibo-is-fullscreen',
|
||||
},
|
||||
},
|
||||
|
||||
// the constructor
|
||||
@@ -142,7 +145,7 @@ $(function()
|
||||
if(window.IntersectionObserver) {
|
||||
const oTabsListIntersectObs = new IntersectionObserver(function(aEntries, oTabsListIntersectObs){
|
||||
// N°4631 - If a non-intersecting element is fullscreen, we do nothing
|
||||
if ($('.ibo-is-fullscreen-non-intersecting').length > 0) {
|
||||
if ($(me.js_selectors.global.fullscreen_elements).length > 0) {
|
||||
return;
|
||||
}
|
||||
aEntries.forEach(oEntry => {
|
||||
|
||||
Reference in New Issue
Block a user