Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 7 additions & 1 deletion Web/Resgrid.Web/wwwroot/js/site.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
$(document).ready(function () {
// Bundled react-elements.css inlines the Leaflet marker as a data URI, which breaks
// L.Icon.Default's CSS path detection. Pin the image path explicitly.
if (typeof L !== 'undefined' && L.Icon && L.Icon.Default) {
L.Icon.Default.imagePath = '/lib/leaflet/dist/images/';
}

$(document).ready(function () {


// Add body-small class if window less than 768px
Expand Down
2 changes: 1 addition & 1 deletion Web/Resgrid.Web/wwwroot/js/site.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading