loleaflet/src/control/Ruler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 349b2f7eb607b76d655c75b8fbfa133ddc879302 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Fri Jul 31 17:14:13 2020 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Tue Aug 4 00:26:14 2020 +0200 loleaflet: remove unnecessary function dependency ... of the "jquery" library Change-Id: Id4a2c0171d09320178d900df0339b4b8245fc3da Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99906 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Tested-by: Jenkins Reviewed-by: Henry Castro <hcas...@collabora.com> diff --git a/loleaflet/src/control/Ruler.js b/loleaflet/src/control/Ruler.js index 79c89ae37..6ec7c7029 100644 --- a/loleaflet/src/control/Ruler.js +++ b/loleaflet/src/control/Ruler.js @@ -28,7 +28,7 @@ L.Control.Ruler = L.Control.extend({ map.on('docsize', this._updatePaintTimer, this); map.on('scrolloffset resize', this._fixOffset, this); map.on('updatepermission', this._changeInteractions, this); - $('#map').addClass('hasruler'); + L.DomUtil.addClass(map.getContainer(), 'hasruler'); this._map = map; return this._initLayout(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits