Merge pull request #702 from beatrycze-volk/remove-semicolons
Remove not needed semicolons
This commit is contained in:
commit
622370ec57
|
@ -173,7 +173,7 @@ dlfAltoParser.prototype.parseFeatures = function(document) {
|
|||
};
|
||||
|
||||
pageFeatures.push(feature);
|
||||
};
|
||||
}
|
||||
|
||||
return pageFeatures;
|
||||
};
|
||||
|
|
|
@ -104,7 +104,7 @@ function DlfAnnotationControl(map, image, annotationContainers) {
|
|||
// hover in case of dragging
|
||||
if (event['dragging']) {
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
var hoverSourceAnnotation = this.layers_.hoverAnnotation.getSource(),
|
||||
hoverSourceAnnotationList = this.layers_.hoverAnnotationList.getSource(),
|
||||
|
|
|
@ -118,7 +118,7 @@ DlfIiifAnnotationParser.prototype.parseAnnotationList = function(annotationList,
|
|||
for (var i = 0; i < listCoordinatesWithoutScale[0].length; i++) {
|
||||
coordinatesRescale.push([(scale * listCoordinatesWithoutScale[0][i][0]),
|
||||
0 - (scale * listCoordinatesWithoutScale[0][i][1])]);
|
||||
};
|
||||
}
|
||||
var listGeometry = new ol.geom.Polygon([coordinatesRescale]),
|
||||
listFeature = new ol.Feature(listGeometry);
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ dlfViewerImageManipulationControl = function(options) {
|
|||
value = FILTERS_DEFAULT_[String(type)];
|
||||
|
||||
$(sliderEl).slider('value', value);
|
||||
};
|
||||
}
|
||||
}, this)
|
||||
};
|
||||
};
|
||||
|
|
|
@ -355,7 +355,7 @@ dlfViewer.prototype.displayHighlightWord = function(highlightWords = null) {
|
|||
for (var i = 0; i < features.length; i++) {
|
||||
this.highlightLayer.getSource().addFeatures([features[i]]);
|
||||
}
|
||||
};
|
||||
}
|
||||
}, this));
|
||||
};
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ function nextResultPage() {
|
|||
var newStart = parseInt(currentStart) + 20;
|
||||
$("#tx-dlf-search-in-document-form input[id='tx-dlf-search-in-document-start']").val(newStart);
|
||||
$('#tx-dlf-search-in-document-form').submit();
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This function decreases the start parameter of the search form and submits
|
||||
|
@ -32,7 +32,7 @@ function previousResultPage() {
|
|||
var newStart = (parseInt(currentStart) > 20) ? (parseInt(currentStart) - 20) : 0;
|
||||
$("#tx-dlf-search-in-document-form input[id='tx-dlf-search-in-document-start']").val(newStart);
|
||||
$('#tx-dlf-search-in-document-form').submit();
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This function resets the start parameter on new queries.
|
||||
|
|
Loading…
Reference in New Issue