From 9d1181330bfabc14f82c40dadbb1998759cce1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 23 Aug 2016 14:09:12 +0200 Subject: [PATCH] Fix T49138: "learn more" buttons break history / back-button The "learn more" links are now actually links, and the location is simply set using `window.location.ref = url` instead of `window.location.replace()`. --- src/templates/join.jade | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/templates/join.jade b/src/templates/join.jade index d88181cc..77a744f1 100644 --- a/src/templates/join.jade +++ b/src/templates/join.jade @@ -54,7 +54,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac p. The iconic Blender Institute Open Movies, featuring all the production files, assets, artwork, and never-seen-before content. - span.triplet-cta + a.triplet-cta(href="{{ url_for('main.open_projects') }}") | LEARN MORE .col-md-4 @@ -68,7 +68,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac p. Character modeling, 3D printing, VFX, rigging and more. We offer 12 complete training series with +100 hours of training. - span.triplet-cta + a.triplet-cta(href="{{ url_for('main.training') }}") | LEARN MORE .col-md-4 @@ -82,7 +82,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac p. Create your personal projects, collaborate with other members, store and sync your Blender settings across multiple workstations. - span.triplet-cta + a.triplet-cta(href="{{ url_for('main.services') }}") | LEARN MORE @@ -102,7 +102,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac h3 HDRI p. Up to 8K and 18 EVs (extremely high) HDR images to light your renders. - span.triplet-cta + a.triplet-cta(href="{{ url_for('main.redir_hdri') }}") | LEARN MORE .col-md-4 @@ -116,7 +116,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac p. More than 1500 texture maps. Browse online or from Blender with our awesome add-on. - span.triplet-cta + a.triplet-cta(href="{{ url_for('main.redir_textures') }}") | LEARN MORE .col-md-4 @@ -129,7 +129,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac h3 Characters p. Production quality, fully rigged and shaded characters ready to animate. - span.triplet-cta + a.triplet-cta(href="{{ url_for('main.redir_characters') }}") | LEARN MORE @@ -475,7 +475,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac script. $('.triplet-card').click(function(){ - window.location.replace($(this).attr('data-url')); + window.location.href = $(this).attr('data-url'); }); $(window).on('load scroll', function() {