Rearrange assets.

This commit is contained in:
David Molineus
2017-10-09 16:05:34 +02:00
parent 249b12cb61
commit b898aafe51
10 changed files with 4 additions and 4 deletions

19
js/Mixin.Attribution.js Normal file
View File

@@ -0,0 +1,19 @@
/**
* Attribution handling.
*/
L.Control.Attribution.addInitHook(function() {
this.options.prefix += L.Contao.ATTRIBUTION;
});
L.Control.Attribution.include({
setPrefix: function (prefix) {
if (prefix.indexOf(L.Contao.ATTRIBUTION) === -1) {
prefix += L.Contao.ATTRIBUTION;
}
this.options.prefix = prefix;
this._update();
return this;
}
});