Skip to content

Commit

Permalink
Minor fix to commit 77d4398
Browse files Browse the repository at this point in the history
  • Loading branch information
robyngit committed Jul 20, 2023
1 parent a705185 commit c9aae3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/views/metadata/EMLAttributeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ define([
* attribute
*/
initialize: function (options) {
if (!options || options != "object") options = {};
if (!options || typeof options != "object") options = {};
this.isNew =
options.isNew == true ? true : options.model ? false : true;
this.model =
Expand Down

0 comments on commit c9aae3b

Please sign in to comment.