Gildas 7 лет назад
Родитель
Сommit
77e934fa71
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/hooks/hooks-frame.js

+ 1 - 1
lib/hooks/hooks-frame.js

@@ -137,7 +137,7 @@ this.hooksFrame = this.hooksFrame || (() => {
 		const pendingRequestAnimationFrameCalls = new Map();
 		window.requestAnimationFrame = function (callback) {
 			if (!warningRequestAnimationFrameDisplayed) {
-				console.warn("SingleFile is hooking the requestAnimationFrame function to load deferred images."); // eslint-disable-line no-console
+				console.warn("SingleFile is hooking the requestAnimationFrame and cancelAnimationFrame functions to load deferred images."); // eslint-disable-line no-console
 				warningRequestAnimationFrameDisplayed = true;
 			}
 			if (loadDeferredImages) {