Bug 18305 - jquery.fixFloat.js breaks advanced MARC editor
Remove use of ECMASCRIPT 2015 default parameter syntax in jquery.fixFloat.js to be compatible with a wider range of browser versions. Test plan: 1. Usa a not so modern browser, for example Chrome/Chromium < 49, any version of IE besides Edge, Opera, or Firefox < 15.0. 2. Edit a bibliographic record in staff client and try switching to advanced MARC editor (check console, no errors should appear). Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
7aa0808ff2
commit
a649958315
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
*/
|
||||
(function ($, window) {
|
||||
"use strict";
|
||||
$.fn.fixFloat = function (options={}) {
|
||||
$.fn.fixFloat = function (options) {
|
||||
var options = options || {};
|
||||
var tbh = $(this);
|
||||
var defaults = {
|
||||
enabled: true,
|
||||
|
|
Loading…
Reference in a new issue