]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'master' into tag-colour-preview-rebase
authorStefan Baebler <sbaebler@outbrain.com>
Sat, 31 Aug 2019 09:34:57 +0000 (11:34 +0200)
committerStefan Baebler <sbaebler@outbrain.com>
Sat, 31 Aug 2019 09:34:57 +0000 (11:34 +0200)
1  2 
app/assets/javascripts/index.js
app/assets/stylesheets/common.scss
config/locales/en.yml

index 4a8d8d9173130fd4c59e006021301b2e09b18101,2c7d70e11ad99603056546396c017cc7e1711ddc..562eb80fdd2fe1d7d59c5c6fa5c17df6291cf78a
@@@ -334,13 -347,9 +347,13 @@@ $(document).ready(function () 
            });
          }
        });
 +      
 +      $('.colour-preview-box').each(function () {
 +        $(this).css("background-color", $(this).data("colour"));
 +      });
      }
  
-     page.unload = function() {
+     page.unload = function () {
        map.removeObject();
      };
  
Simple merge
Simple merge