Browse Source

Removed document_title

Jeroen De Meerleer 5 months ago
parent
commit
426996d517
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/JeroenED/PortfolioBundle/Resources/public/js/jeroened.js

+ 0 - 2
src/JeroenED/PortfolioBundle/Resources/public/js/jeroened.js

@@ -2,7 +2,6 @@ var pages = new Array("/", "/archive", "/changelog", "/category");
 var currentPage = getCurrentPage();
 var hastags = false;
 var no_analytics = (typeof _paq === 'undefined') ? true : false;
-var document_title = '';
 var initial_title = $("head title").html();
 $(document).ready(function() {
     $("nav").click(function() {
@@ -211,6 +210,5 @@ function updateTitle() {
             page_title = $(".future h1").html();
         }
     }
-    document_title = page_title + ' :: ' + initial_title;
     document.title = page_title + ' :: ' + initial_title;
 }