diff --git a/edit.js b/edit.js
index d5be1c5b..69a9f62c 100644
--- a/edit.js
+++ b/edit.js
@@ -746,6 +746,7 @@ function init() {
function initWithStyle(style) {
document.getElementById("name").value = style.name;
document.getElementById("enabled").checked = style.enabled == "true";
+ document.getElementById("url").href = style.url;
tE("heading", "editStyleHeading", null, false);
// if this was done in response to an update, we need to clear existing sections
document.querySelectorAll("#sections > div").forEach(function(div) {