Ver Fonte

fixed warning message

Gildas há 7 anos atrás
pai
commit
77e934fa71
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {