Add a note about CSS removal in upgrade-notes.md

This commit is contained in:
Frederic Junod
2019-05-17 15:19:27 +02:00
parent 512a39bafd
commit 4c2b11f6d7

View File

@@ -4,6 +4,18 @@
#### Backwards incompatible changes
#### Removal of CSS print rules
The CSS media print rules were removed from the `ol.css` file. To get the previous behavior, use the following CSS:
```css
@media print {
.ol-control {
display: none;
}
}
```
#### Removal of optional this arguments
The optional this (i.e. opt_this) arguments were removed from the following methods.