#46 $.extend modify changes

This commit is contained in:
Agriya Dev5
2021-02-16 12:13:45 +05:30
parent 7d1b6ba1d0
commit e2aca51b5a

View File

@@ -219,9 +219,8 @@ function deepExtend(out) {
* @returns {external:jQuery}
*/
export function jGraduateMethod (elem, options, okCallback, cancelCallback) {
// return elem.each(function () {
const $this = elem,
$settings = $.extend(true, {}, jGraduateDefaults, options || {}),
$settings = Object.assign({}, jGraduateDefaults, options || {}),
id = $this.getAttribute('id'),
idref = '#' + $this.getAttribute('id') + ' ';
// JFH !!!!!