From e10d7ee790b547327036f046d7f3e47b1d016a40 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Sun, 27 Apr 2014 09:58:57 -0400 Subject: [PATCH] Remove annoying app, fix note resize --- karmaworld/assets/js/note-detail.js | 2 +- karmaworld/settings/dev.py | 2 -- karmaworld/settings/vmdev.py | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/karmaworld/assets/js/note-detail.js b/karmaworld/assets/js/note-detail.js index d340b76..e5d316a 100644 --- a/karmaworld/assets/js/note-detail.js +++ b/karmaworld/assets/js/note-detail.js @@ -2,7 +2,7 @@ function rescalePdf(viewer) { var scaleBase = 750; var outlineWidth = 250; - var frameWidth = parseInt($('#tabs-content')[0].clientWidth); + var frameWidth = parseInt($('#note_container')[0].clientWidth); var pdfWidth = frameWidth; if ($(viewer.sidebar).hasClass('opened')){ diff --git a/karmaworld/settings/dev.py b/karmaworld/settings/dev.py index 3829d06..17a3822 100644 --- a/karmaworld/settings/dev.py +++ b/karmaworld/settings/dev.py @@ -73,7 +73,6 @@ AWS_HEADERS = { # See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation INSTALLED_APPS += ( 'debug_toolbar', - 'template_timings_panel', 'django_extensions', 'django_nose', ) @@ -87,7 +86,6 @@ DEBUG_TOOLBAR_PANELS = ( 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', - 'template_timings_panel.panels.TemplateTimings.TemplateTimings', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', diff --git a/karmaworld/settings/vmdev.py b/karmaworld/settings/vmdev.py index 69a4253..6096b8f 100644 --- a/karmaworld/settings/vmdev.py +++ b/karmaworld/settings/vmdev.py @@ -203,7 +203,6 @@ TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' # See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation INSTALLED_APPS += ( 'debug_toolbar', - 'template_timings_panel', 'django_extensions', 'django_nose', ) @@ -217,7 +216,6 @@ DEBUG_TOOLBAR_PANELS = ( 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', - 'template_timings_panel.panels.TemplateTimings.TemplateTimings', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', -- 2.25.1