This commit is contained in:
Joe DF 2022-05-29 21:38:38 -04:00
parent 3661d6cae5
commit df0e598e38

View File

@ -62,8 +62,8 @@ $.Navigator = function( options ){
$.console.warn("Given option.id for Navigator was ignored since option.element was provided and is being used instead."); $.console.warn("Given option.id for Navigator was ignored since option.element was provided and is being used instead.");
} else { } else {
// Don't overwrite the element's id if it has one already // Don't overwrite the element's id if it has one already
if ( option.element.id ) { if ( options.element.id ) {
options.id = option.element.id; options.id = options.element.id;
} else { } else {
options.id = 'navigator-' + $.now(); options.id = 'navigator-' + $.now();
} }