Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit bfc38d3

Browse files
committed
Merge pull request #10 from barryceelen/patch-1
Apply innerElementStyles
2 parents ef76920 + f22424c commit bfc38d3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

hideShowPassword.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
$.each(options.inheritStyles, $.proxy(function (index, prop) {
299299
options.styles[prop] = this.element.css(prop);
300300
}, this));
301-
this.element.wrap(
301+
this.element.css(options.innerElementStyles).wrap(
302302
$(options.element).addClass(options.className).css(options.styles)
303303
);
304304
this.wrapperElement = this.element.parent();
@@ -442,4 +442,4 @@
442442
};
443443
});
444444

445-
}, this));
445+
}, this));

hideShowPassword.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)