do not refresh when no changes have been made
This commit is contained in:
parent
a97c3d8a6a
commit
9f0267f3a5
1 changed files with 1 additions and 2 deletions
|
@ -80,8 +80,7 @@ class Page_Popup extends Page {
|
|||
: `loading`)];
|
||||
|
||||
// Replace the iframe src with the new page.
|
||||
this.elements[`frame`].src = PAGE;
|
||||
|
||||
(this.elements[`frame`].src != PAGE) ? this.elements[`frame`].src = PAGE : false;
|
||||
|
||||
// The results page has its own container.
|
||||
this.elements[`container`].classList[(PAGE.includes(`results`)) ? `remove` : `add`](`container`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue