fix overbaked solutio

550-visual-selector
dgtlmoon 3 years ago
parent 7be8f9296d
commit 875319f910

@ -11,7 +11,6 @@ window.addEventListener('hashchange', function() {
while (tabs[0]) {
tabs[0].classList.remove('active')
}
document.getElementById("beta-logo").style.display = "none";
set_active_tab();
}, false);

@ -20,7 +20,6 @@ $(document).ready(function() {
// For when the page loads
if(!window.location.hash || window.location.hash != '#visualselector') {
$("img#selector-background").attr('src','');
$('#beta-logo').hide();
return;
}
@ -57,7 +56,6 @@ $(document).ready(function() {
function bootstrap_visualselector() {
if ( 1 ) {
$('#beta-logo').show();
// bootstrap it, this will trigger everything else
$("img#selector-background").bind('load', function () {
console.log("Loaded background...");

@ -434,8 +434,7 @@ and also iPads specifically.
height: 50px;
right: 0px;
top: 0px;
position: absolute;
display: none; }
position: absolute; }
#selector-header {
padding-bottom: 1em; }

@ -619,8 +619,8 @@ $form-edge-padding: 20px;
right: 0px;
top: 0px;
position: absolute;
display: none;
}
#selector-header {
padding-bottom: 1em;
}

@ -31,8 +31,6 @@
</div>
<div class="box-wrap inner">
<img style="display: none;" id="beta-logo" src="{{url_for('static_content', group='images', filename='beta-logo.png')}}">
<form class="pure-form pure-form-stacked"
action="{{ url_for('edit_page', uuid=uuid, next = request.args.get('next') ) }}" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
@ -204,6 +202,8 @@ nav
</div>
<div class="tab-pane-inner visual-selector-ui" id="visualselector">
<img id="beta-logo" src="{{url_for('static_content', group='images', filename='beta-logo.png')}}">
<fieldset>
<div class="pure-control-group">
{% if visualselector_enabled %}

Loading…
Cancel
Save