mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Hide DBL banner if already voted, however homepage always shows regardless
This commit is contained in:
		@@ -93,11 +93,13 @@
 | 
			
		||||
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
 | 
			
		||||
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js" integrity="sha256-uWtSXRErwH9kdJTIr1swfHFJn/d/WQ6s72gELOHXQGM=" crossorigin="anonymous"></script>
 | 
			
		||||
    
 | 
			
		||||
    {% if not dbl_voted or (dbl_voted and request.path == "/") %}
 | 
			
		||||
    <script>
 | 
			
		||||
      $(document).ready(function () {
 | 
			
		||||
          $('#dblbanner').delay(1000).slideDown("slow");
 | 
			
		||||
      });
 | 
			
		||||
    </script>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    
 | 
			
		||||
    {% if af_mode_enabled %}
 | 
			
		||||
    <script type="text/javascript" src="{{ url_for('static', filename='js/site.af.sausage.js') }}"></script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user