Procházet zdrojové kódy

added info in the warning message

Gildas před 6 roky
rodič
revize
16ff91b5d8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/hooks/content/content-hooks-frames-web.js

+ 1 - 1
lib/hooks/content/content-hooks-frames-web.js

@@ -198,7 +198,7 @@
 	let errorDetected;
 	let errorDetected;
 	window.requestAnimationFrame = function (callback) {
 	window.requestAnimationFrame = function (callback) {
 		if (!warningRequestAnimationFrameDisplayed) {
 		if (!warningRequestAnimationFrameDisplayed) {
-			console.warn("SingleFile is hooking the requestAnimationFrame and cancelAnimationFrame functions to load deferred images."); // eslint-disable-line no-console
+			console.warn("SingleFile is hooking the requestAnimationFrame and cancelAnimationFrame functions to load deferred images in background tabs."); // eslint-disable-line no-console
 			warningRequestAnimationFrameDisplayed = true;
 			warningRequestAnimationFrameDisplayed = true;
 		}
 		}
 		let requestId;
 		let requestId;