Skip to content

Commit

Permalink
Fix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
kondratyev-nv committed Mar 25, 2021
1 parent 7b52f1d commit b942d30
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/scripts/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,35 @@ $(function () {
var nameGenerator = new NameGeneratorExtension(document, [
new FakerGenerator(),
new RandomUserGenerator(),
new RandomProfileGenerator(),
new UiNamesGenerator(),
new RandomProfileGenerator()
]);

$('#refreshbtn').on("click", function () {
$('#refreshbtn').on('click', function () {
nameGenerator.refresh();
});

$('#savebtn').on("click", function () {
$('#savebtn').on('click', function () {
nameGenerator.save();
});

$('#loadbtn').on("click", function () {
$('#loadbtn').on('click', function () {
nameGenerator.load();
});

$('#removebtn').on("click", function () {
$('#removebtn').on('click', function () {
nameGenerator.remove();
});

$('#generatortype').on("change", function () {
$('#generatortype').on('change', function () {
nameGenerator.changeGenerator(true);
});

$('#error-message .close').on("click", function () {
$('#error-message .close').on('click', function () {
$('#error-message').hide();
});

$('body').on("click", 'a', function () {
$('body').on('click', 'a', function () {
if ($(this).attr('action-in') != 'popup') {
chrome.tabs.create({ url: $(this).attr('href') });
}
Expand Down

0 comments on commit b942d30

Please sign in to comment.