diff --git a/NzbDrone.Web/Views/Settings/Quality.cshtml b/NzbDrone.Web/Views/Settings/Quality.cshtml
index e01cb8957..f95730716 100644
--- a/NzbDrone.Web/Views/Settings/Quality.cshtml
+++ b/NzbDrone.Web/Views/Settings/Quality.cshtml
@@ -62,7 +62,7 @@
@@ -109,7 +109,7 @@
},
success: function (data, textStatus, jqXHR) {
if (data == "ok") {
- $("#div_" + id).remove();
+ $("#profile_" + id).remove();
removeOption(id);
}
diff --git a/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml b/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml
index 05d8ba7b7..44fd7dbff 100644
--- a/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml
+++ b/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml
@@ -30,7 +30,7 @@