Incepted/static/js/project.js

2 lines
116 B
JavaScript

var edit_button = document.getElementById("edit_button");
edit_button.href = String(window.location.href) + '/edit';