We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093c709 commit 6e8a900Copy full SHA for 6e8a900
src/Skybrud.ImagePicker/App_Plugins/Skybrud.ImagePicker/Directives/ImagePicker.js
@@ -175,14 +175,14 @@
175
176
// Get the Umbraco version
177
var v = Umbraco.Sys.ServerVariables.application.version.split('.');
178
- v = parseFloat(v[0] + '.' + v[1]);
+ v = parseFloat(v[0] + '.' + (v[1].length === 1 ? '0' + v[1] : v[1]));
179
180
// Collapse all open rows
181
scope.toggleOpen({});
182
183
// The new overlay only works from 7.4 and up, so for older
184
// versions we should use the dialogService instead
185
- if (v < 7.4) {
+ if (v < 7.04) {
186
187
var item = {
188
$uniqueId: getUniqueId(),
0 commit comments