File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ <h2 class="disabled"><span id="className"></span><span id="pointsLabel"></span><
89
89
< button id ="resetButton " type ="button "> Reset</ button >
90
90
< button id ="saveButton " type ="button "> Save</ button >
91
91
< button id ="reloadButton " type ="button "> Reload</ button >
92
- < button id ="shareButton " type ="button "> Share URL</ button >
92
+ < button id ="copyButton " type ="button "> Copy URL</ button >
93
93
< button id ="databaseButton " type ="button " onclick ="window.open('./database/') "> Open DB</ button >
94
94
</ div >
95
95
</ div >
Original file line number Diff line number Diff line change @@ -2040,7 +2040,7 @@ function handleReloadButton() {
2040
2040
}
2041
2041
}
2042
2042
}
2043
- function handleShareButton ( ) {
2043
+ function handleCopyButton ( ) {
2044
2044
navigator . clipboard . writeText ( window . location . href ) ;
2045
2045
}
2046
2046
function onDragStart ( event ) {
@@ -5506,7 +5506,7 @@ $(document).ready(function() {
5506
5506
$ ( "#resetButton" ) . on ( "click" , handleResetButton ) ;
5507
5507
$ ( "#saveButton" ) . on ( "click" , handleSaveButton ) ;
5508
5508
$ ( "#reloadButton" ) . on ( "click" , handleReloadButton ) ;
5509
- $ ( "#shareButton " ) . on ( "click" , handleShareButton ) ;
5509
+ $ ( "#copyButton " ) . on ( "click" , handleCopyButton ) ;
5510
5510
$ ( "#classSelector" ) . on ( "change" , handleClassSelection ) ;
5511
5511
$ ( "#barbarianSelect" ) . on ( "click" , ( ) => $ ( "#classSelector" ) . val ( "barbarian" ) . change ( ) ) ;
5512
5512
$ ( "#druidSelect" ) . on ( "click" , ( ) => $ ( "#classSelector" ) . val ( "druid" ) . change ( ) ) ;
You can’t perform that action at this time.
0 commit comments