]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.sidebar.js
Use double quotes consistently in javascript code
[rails.git] / app / assets / javascripts / leaflet.sidebar.js
index f83add8d5f0ac6413246a7a310f504743212e139..240e79a5095f16e957bc640df041622c382b5ec9 100644 (file)
@@ -19,10 +19,10 @@ L.OSM.sidebar = function(selector) {
   control.togglePane = function(pane, button) {
     current
       .hide()
-      .trigger('hide');
+      .trigger("hide");
 
     currentButton
-      .removeClass('active');
+      .removeClass("active");
 
     if (current === pane) {
       $(sidebar).hide();
@@ -37,10 +37,10 @@ L.OSM.sidebar = function(selector) {
 
     current
       .show()
-      .trigger('show');
+      .trigger("show");
 
     currentButton
-      .addClass('active');
+      .addClass("active");
   };
 
   return control;