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')){
# See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation
INSTALLED_APPS += (
'debug_toolbar',
- 'template_timings_panel',
'django_extensions',
'django_nose',
)
'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',
# See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation
INSTALLED_APPS += (
'debug_toolbar',
- 'template_timings_panel',
'django_extensions',
'django_nose',
)
'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',