29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-16 09:02:52 +00:00

[4.1] s/toogle/toggle

Note there is a change in js here as well
This commit is contained in:
brian teeman 2022-01-24 20:23:34 +00:00
parent 33d80d2ace
commit 450f239ee6
No known key found for this signature in database
GPG Key ID: C044A045403B9746
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ $options = [
'id' => $this->referenceId,
];
?>
<button id="toogle-left-panel" class="btn btn-sm btn-secondary"
<button id="toggle-left-panel" class="btn btn-sm btn-secondary"
data-show-reference="<?php echo Text::_('COM_ASSOCIATIONS_EDIT_SHOW_REFERENCE'); ?>"
data-hide-reference="<?php echo Text::_('COM_ASSOCIATIONS_EDIT_HIDE_REFERENCE'); ?>"><?php echo Text::_('COM_ASSOCIATIONS_EDIT_HIDE_REFERENCE'); ?>
</button>

View File

@ -89,7 +89,7 @@ jQuery(document).ready(function($) {
};
// Attach behaviour to toggle button.
$(document).on('click', '#toogle-left-panel', function() {
$(document).on('click', '#toggle-left-panel', function() {
var referenceHide = this.getAttribute('data-hide-reference');
var referenceShow = this.getAttribute('data-show-reference');