Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@
<ul id="productsHolder-tabs"></ul>
<div id="productsHoldertoggleButtonHolder"></div>
<div id="products"></div>
<div id="wv-events">Loading...</div>
<div id="wv-events"></div>
<div id="wv-loading">Loading...</div>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this div should go below #wv-data, since "Loading..." is actually indicating that any part of the sidebar is in a loading state and, it contains less important information than what is in the data tab. Otherwise, this looks good to me.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I agree, I'll push that in a minute

<div id="wv-data"></div>
</section>
<div id="wv-map" class="wv-map"></div>
Expand Down
3 changes: 3 additions & 0 deletions web/js/layers/wv.layers.sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ wv.layers.sidebar = wv.layers.sidebar || function (models, config) {

$('.accordionToggler')
.bind('click', self.toggle);

// Hide loading information after rendering
$('#wv-loading').hide();
};

var onTabChange = function (e, ui) {
Expand Down