From 5f5a1abac007c7cae08492d654be90d6897996db Mon Sep 17 00:00:00 2001 From: Daniel van Noord Date: Mon, 28 Dec 2020 14:00:21 +0100 Subject: [PATCH] Removed a TODO --- CookieMonster.js | 5 ----- src/Disp.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/CookieMonster.js b/CookieMonster.js index 171414b..e9aa840 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -2566,11 +2566,6 @@ CM.Disp.TooltipCreateWarningSection = function() { var box = document.createElement('div'); box.id = boxId; box.style.display = 'none'; - // TODO: This is very old code and can probably be removed - //box.style.WebkitTransition = 'opacity 0.1s ease-out'; - //box.style.MozTransition = 'opacity 0.1s ease-out'; - //box.style.MsTransition = 'opacity 0.1s ease-out'; - //box.style.OTransition = 'opacity 0.1s ease-out'; box.style.transition = 'opacity 0.1s ease-out'; box.className = CM.Disp.colorBorderPre + color; box.style.padding = '2px'; diff --git a/src/Disp.js b/src/Disp.js index 86e47be..e15985f 100644 --- a/src/Disp.js +++ b/src/Disp.js @@ -1387,11 +1387,6 @@ CM.Disp.TooltipCreateWarningSection = function() { var box = document.createElement('div'); box.id = boxId; box.style.display = 'none'; - // TODO: This is very old code and can probably be removed - //box.style.WebkitTransition = 'opacity 0.1s ease-out'; - //box.style.MozTransition = 'opacity 0.1s ease-out'; - //box.style.MsTransition = 'opacity 0.1s ease-out'; - //box.style.OTransition = 'opacity 0.1s ease-out'; box.style.transition = 'opacity 0.1s ease-out'; box.className = CM.Disp.colorBorderPre + color; box.style.padding = '2px';