Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
amdomanska committed Apr 20, 2023
1 parent 874d0d4 commit 6c324ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions portality/static/js/formulaic.js
Original file line number Diff line number Diff line change
Expand Up @@ -2084,6 +2084,9 @@ var formulaic = {
var url = this.url + val;
var classes = edges.css_classes(this.ns, "visit");
that.after('<p><small><a id="' + id + '" class="' + classes + '" rel="noopener noreferrer" target="_blank" href="' + url + '">' + url + '</a></small></p>');

var selector = edges.css_id_selector(this.ns, this.fieldDef.name);
this.link = $(selector, this.form.context);
}
} else if (this.link) {
this.link.remove();
Expand Down

0 comments on commit 6c324ea

Please sign in to comment.