Remove annoying app, fix note resize
authorCharles Connell <charles@connells.org>
Sun, 27 Apr 2014 13:58:57 +0000 (09:58 -0400)
committerCharles Connell <charles@connells.org>
Sun, 27 Apr 2014 13:58:57 +0000 (09:58 -0400)
karmaworld/assets/js/note-detail.js
karmaworld/settings/dev.py
karmaworld/settings/vmdev.py

index d340b76cc4a2fdbe5e7350fc4099eb9bfa5d1e15..e5d316a474cc1715c459c464ad49b5d55c9926da 100644 (file)
@@ -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')){
index 3829d06516f4ceb8fad0a75097479ba7f1fa30bb..17a3822c3340d3c8de1993fee872d45f8a5c8255 100644 (file)
@@ -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',
index 69a4253ebb35e5e988ed47b1fbb430a4717ff524..6096b8f42b6cf039b08410606e5e4ecca73de0cc 100644 (file)
@@ -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',