Skip to content

Commit d8fbaff

Browse files
cppartsbmatthieu3
authored andcommitted
mild cleanup
1 parent 9d072cd commit d8fbaff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

js/models/event_handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class EventHandler {
4848

4949
/**
5050
* Updates the view center rotation in the model.
51-
* WARNING: This method don't call model.save_changes()!
51+
* WARNING: This method doesn't call model.save_changes()!
5252
*/
5353
updateRotation() {
5454
if (!this.isLastDiv()) return;

js/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function initAladinLite(model, el) {
3939
});
4040
const wcs = { ...aladin.getViewWCS() };
4141
model.set("_wcs", wcs);
42-
const rotation = aladin.getRotation();
42+
const rotation = { ...aladin.getRotation() };
4343
model.set("_rotation", rotation);
4444

4545
model.set("_is_loaded", true);

0 commit comments

Comments
 (0)