Commit 466a3556 authored by Antek Grzanka's avatar Antek Grzanka

Fixed #100 and #96.

parent 73ef2124
......@@ -23,7 +23,6 @@
Materialize.toast('Błędna flaga! :(', 5000 ,'toast-error');
$scope.submitUnknown = false;
});
};
}]);
})();
\ No newline at end of file
......@@ -6,6 +6,7 @@
$.each(data, function(key){
data[key].short_description = data[key].description.split(" ").slice(0,6).join(" ").concat("...");
data[key].random = Math.random();
});
APIProvider.getMyCompletedLevelsList(function(completed){
......
......@@ -70,7 +70,7 @@
</div>
</div>
<div class="col s12 m4" style="text-align:center">
<img class="responsive-img" src="http://lorempixel.com/400/300/"/>
<img class="responsive-img" src="http://lorempixel.com/400/300/?{{task.random}}"/>
<a class="waves-effect waves-light btn" target="_blank" href="{{apiAddress}}/task/{{task.level}}/"
style="width:100%;margin-top:15px">Otwórz stronę z zadaniem</a>
</div>
......
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