From 8518f9881216a9b13e75658e135dbb44d7821b04 Mon Sep 17 00:00:00 2001 From: Jeremy Mahieu Date: Fri, 1 May 2020 23:23:47 +0200 Subject: [PATCH] Close div --- js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inputbar.js b/js/inputbar.js index 6324685..c4561f3 100644 --- a/js/inputbar.js +++ b/js/inputbar.js @@ -283,7 +283,7 @@ weechat.directive('inputBar', function() { var deleteCallback = function () { // Image got sucessfully deleted. // Show toast with delete link - var toastDeleted = $compile('
Successfully deleted.')($scope)[0]; + var toastDeleted = $compile('
Successfully deleted.
')($scope)[0]; document.body.appendChild(toastDeleted); setTimeout(function() { document.body.removeChild(toastDeleted); }, 5000); }