Commit d9558456 authored by Rafal's avatar Rafal

add

parent 078e3615
......@@ -97,10 +97,10 @@
</div>
</div>
<div class="col-md-6 text-center">
<img id="first_city" class="center-block" src="img/city_icon.png" style="width:200px; height:242px;" />
<img id="first_city" class="center-block" src="./img/city_icon.png" style="width:200px; height:242px;" />
</div>
<div class="col-md-6 text-center">
<img id="second_city" class="center-block" src="img/city_icon.png" style="width:200px; height:242px;" />
<img id="second_city" class="center-block" src="./img/city_icon.png" style="width:200px; height:242px;" />
</div>
......@@ -126,7 +126,7 @@
$('#validate-select').on('change', function(){
console.log(2);
if ($('#validate-select').val() === "item_1"){
$('#first_city').attr("src", "img/krakow_city.jpg");
$('#first_city').attr("src", "./img/krakow_city.jpg");
console.log(1);
}
});
......@@ -135,7 +135,7 @@
console.log(2);
if ($('#validate-select2').val() === "item_1"){
$('#second_city').attr("src", "img/frozen_logo.png");
$('#second_city').attr("src", "./img/frozen_logo.png");
console.log(1);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment