diff --git a/icons.html b/icons.html
index bb3182e..f9ebdb0 100644
--- a/icons.html
+++ b/icons.html
@@ -78,8 +78,8 @@
-
Eigth Edition (8ed)
+
+ Eighth Edition (8ed)
Ninth Edition (9ed)
@@ -766,6 +766,10 @@
// show the modal
$( '#overlay' ).show();
$( '#modal' ).show();
+
+ // update the url query string
+ var newurl = window.location.origin + window.location.pathname + '?icon='+icon;
+ window.history.pushState( {path:newurl}, '', newurl );
}
// toggle rarity controls
@@ -785,6 +789,7 @@
// close modal button
$( '#closeModal' ).on( 'click', function( e ) {
$( '#overlay' ).hide();
+ $( '#toggleGradient' ).prop( 'checked', false );
$( '#modal' ).hide();
});