diff --git a/src/ol/control/FullScreen.js b/src/ol/control/FullScreen.js index eb915f40d6..ad84c83168 100644 --- a/src/ol/control/FullScreen.js +++ b/src/ol/control/FullScreen.js @@ -102,8 +102,8 @@ class FullScreen extends Control { */ this.inactiveClassName_ = options.inactiveClassName !== undefined - ? options.inactiveClassName.split(' ') - : [this.cssClassName_ + '-false']; + ? options.inactiveClassName.split(' ') + : [this.cssClassName_ + '-false']; const label = options.label !== undefined ? options.label : '\u2922';