diff --git a/NzbDrone.Web/Views/AddSeries/RootDir.cshtml b/NzbDrone.Web/Views/AddSeries/RootDir.cshtml index 463486619..0907941a5 100644 --- a/NzbDrone.Web/Views/AddSeries/RootDir.cshtml +++ b/NzbDrone.Web/Views/AddSeries/RootDir.cshtml @@ -19,7 +19,7 @@ $('#rootDirs .actionButton img').live('click', function(image) { - var path = $(image.srcElement).attr('id'); + var path = $(image.target).attr('id'); $.post('@Url.Action("DeleteRootDir", "AddSeries")', { Path: path }, function() { refreshRoot(); });