From 218fc37e8fb293ee403a11870200fea058cbbd0d Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 12 May 2014 23:51:41 +0530 Subject: [PATCH] Remove erroneous onload javascript If a page needs to run javascript on load, it is easy to do so by attaching onload handlers or by using corresponing jQuery utilities. There is no need to mess with templating. --- templates/base.html | 7 +------ util.py | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/templates/base.html b/templates/base.html index f8abfc20a..55552c0da 100644 --- a/templates/base.html +++ b/templates/base.html @@ -51,13 +51,8 @@ {{ main_menu_js|safe }} {{ sub_menu_js|safe }} - - +