diff --git a/assets/js/functions.js b/assets/js/functions.js
index 633e8124..aab67d5d 100644
--- a/assets/js/functions.js
+++ b/assets/js/functions.js
@@ -51,11 +51,10 @@ function workLoad() {
$('.thumb-container label').click(function() {
var $this = $(this),
newTitle = $this.find('strong').text(),
- newFolder = $this.find('.thumb-unit').data('folder'),
spinner = '
Loading...
',
- newHTML = 'work/'+ newFolder;
+ url = window.location.origin + $this.find('.thumb-unit').data('url');
- $('.project-load').html(spinner).load(newHTML);
+ $('.project-load').html(spinner).load(url);
$('.project-title').text(newTitle);
});