From cae5a7115136f68a5e07e2263d84a15397b42418 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 29 Jan 2017 14:48:56 +0100 Subject: [PATCH] fix missing class renaming --- js/privatebin.js | 6 +++--- tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index d9eeda17..e8ba71f9 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -1205,7 +1205,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) { ); var shortenButton = $('#shortenbutton'); if (shortenButton) { - shortenButton.click($.proxy(controller.sendToShortener, privatebin)); + shortenButton.click($.proxy(controller.sendToShortener, controller)); } $('#deletelink').html('' + i18n._('Delete data') + ''); controller.pasteResult.removeClass('hidden'); @@ -1787,8 +1787,8 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) { } /** - * main application start, called when DOM is fully loaded - * runs privatebin when translations were loaded + * main application start, called when DOM is fully loaded and + * runs controller initalization after translations are loaded */ $(i18n.loadTranslations($.proxy(controller.init, controller))); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index c6a56612..69d0e011 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -69,7 +69,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index 98d7f328..4860f8cf 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -47,7 +47,7 @@ if ($MARKDOWN): - +