Skip to content

Commit 30f20ca

Browse files
committed
Fixing for Firefox and mobile
1 parent a5f735b commit 30f20ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
</style>
4141
</head>
4242
<body>
43+
<div class="columns" style="width:1200px;">
4344
<div class="column" id="left" style="width:200px; float:left;">
4445
<p style="margin: 0 0.5em;">
4546
Choose a color and click on states you want to apply the color to.
@@ -176,5 +177,6 @@
176177
</svg>
177178
</figure>
178179
</div>
180+
</div>
179181
</body>
180182
</html>

js/mapcontroller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ color = "#D3D3D3";
22

33
$(document).ready( function() {
44
$('.clickable').click( function(){
5-
this.style.fill = color;
5+
$( this ).attr( "fill", "#" + color );
66
$('#' + this.id + 'input').val( color );
77
} );
88
} );

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy