@arsedizioni/ars-utils 21.2.358 → 21.2.359
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -870,6 +870,12 @@ declare class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
870
870
|
/**
|
|
871
871
|
* Sets the iframe `src` ensuring a reload happens even when the URL is identical
|
|
872
872
|
* to the current one (some browsers skip the navigation otherwise).
|
|
873
|
+
*
|
|
874
|
+
* When the URL is unchanged we use `location.replace`, which forces a reload without
|
|
875
|
+
* adding a new entry to the iframe's history — this preserves the Back/Forward
|
|
876
|
+
* behaviour driven by the iframe itself. If the iframe is cross-origin and the
|
|
877
|
+
* replace throws, we fall back to a plain `src` assignment.
|
|
878
|
+
*
|
|
873
879
|
* @param el - The iframe element to update.
|
|
874
880
|
* @param url - The URL to navigate to.
|
|
875
881
|
*/
|