Skip to content

Commit

Permalink
Merge pull request origo-map#1630 from ornskoldsvikskommun/master
Browse files Browse the repository at this point in the history
fix: only header draggable in infowindow expandable list.
  • Loading branch information
johnnyblasta authored Nov 10, 2022
2 parents c2194ab + 3f6c202 commit c26b6bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/infowindow_expandableList.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,12 @@ function render(viewerId) {
mainContainer = document.createElement('div');
setInfowindowStyle();
mainContainer.classList.add('sidebarcontainer', 'expandable_list');
mainContainer.id = 'sidebarcontainer-draggable';
mainContainer.id = 'sidebarcontainer';
urvalContainer = document.createElement('div');
urvalContainer.classList.add('urvalcontainer');

const urvalTextNodeContainer = document.createElement('div');
urvalTextNodeContainer.id = 'sidebarcontainer-draggable';
urvalTextNodeContainer.classList.add('urval-textnode-container');
const urvalTextNode = document.createTextNode(infowindowOptions.title || 'Träffar');
urvalTextNodeContainer.appendChild(urvalTextNode);
Expand Down

0 comments on commit c26b6bb

Please sign in to comment.