summaryrefslogtreecommitdiffstats
path: root/theme/javascript/core/font-settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/javascript/core/font-settings.js')
-rw-r--r--theme/javascript/core/font-settings.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/theme/javascript/core/font-settings.js b/theme/javascript/core/font-settings.js
index 9df15f7..63177ee 100644
--- a/theme/javascript/core/font-settings.js
+++ b/theme/javascript/core/font-settings.js
@@ -15,20 +15,6 @@ define([
"sans": 1
};
- var togglePopover = function(e) {
- var $dropdown = $("#font-settings-wrapper .dropdown-menu");
-
- $dropdown.toggleClass("open");
- e.stopPropagation();
- e.preventDefault();
- };
-
- var closePopover = function(e) {
- var $dropdown = $("#font-settings-wrapper .dropdown-menu");
-
- $dropdown.removeClass("open");
- };
-
var enlargeFontSize = function(e){
if (fontState.size < 4){
fontState.size++;
@@ -108,10 +94,6 @@ define([
$(document).on('click', "#font-settings-wrapper .font-family-list .button", changeFontFamily);
$(document).on('click', "#font-settings-wrapper .color-theme-list .button", changeColorTheme);
-
- $(document).on('click', ".book-header .toggle-font-settings", togglePopover);
- $(document).on('click', "#font-settings-wrapper .dropdown-menu", function(e){ e.stopPropagation(); });
- $(document).on("click", closePopover);
};
return {