Skip to content
Snippets Groups Projects
Commit 4cb2bf26 authored by Kathrin Osswald's avatar Kathrin Osswald
Browse files

Fixed some fixable prechecker warnings.

parent 0d879012
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2019-04-26 - Fixed some fixable prechecker warnings.
* 2019-04-26 - Updated README.md, because a change was removed due tu upstream changes.
* 2019-04-25 - Fixed bug in the change to increase the number of uploadable login background images.
......
......@@ -27,7 +27,7 @@ define(['jquery'], function($) {
/**
* Initialising.
*
* @param value
* @param {string} value
*/
function initcatchshortcuts(value) {
if (value == 'end') {
......@@ -73,7 +73,7 @@ define(['jquery'], function($) {
/**
* Function to scroll only to the bottom of the course and not the bottom of the whole page.
*
* @param event
* @param {object} event
*/
function scrollToBottomOfCourse(event) {
// Prevent default behavior.
......@@ -87,7 +87,7 @@ define(['jquery'], function($) {
/**
* Function to check for an active form element.
*
* @return boolean
* @return {boolean}
*/
function checkForActiveFormElement() {
// Get the active Element for the current page.
......
......@@ -124,7 +124,8 @@ function theme_boost_campus_get_pre_scss($theme) {
$scss .= '$grid-gutter-width: '. "30px;\n";
// MODIFICATION END.
// MODIFICATION START: Set own SCSS variables which need units or calculations and thus couldn't be added to $configurable above.
// MODIFICATION START: Set own SCSS variables which need units or calculations and thus couldn't be
// added to $configurable above.
// Set variables which are processed in the context of the blockcolumnwidth setting.
$scss .= '$blocks-column-width-dashboard: ' . $theme->settings->blockcolumnwidthdashboard . "px;\n";
$scss .= '$blocks-plus-gutter-dashboard: $blocks-column-width-dashboard + ( $grid-gutter-width / 2 )' . ";\n";
......
......@@ -219,7 +219,8 @@ if ($ADMIN->fulltree) {
$title = get_string('addablockpositionsetting', 'theme_boost_campus', null, true);
$description = get_string('addablockpositionsetting_desc', 'theme_boost_campus', null, true);
$addablockpositionsetting = [
// Don't use string lazy loading (= false) because the string will be directly used and would produce a PHP warning otherwise.
// Don't use string lazy loading (= false) because the string will be directly used and would produce a
// PHP warning otherwise.
'positionblockregion' => get_string('settingsaddablockpositionbottomblockregion', 'theme_boost_campus', null, false),
'positionnavdrawer' => get_string('settingsaddablockpositionbottomnavdrawer', 'theme_boost_campus', null, true),
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment