Skip to content

Commit

Permalink
Merge pull request #95 from vtoubiana/url-alert-hotfix
Browse files Browse the repository at this point in the history
Update verify clear message bad input issue/92
  • Loading branch information
vtoubiana committed Jul 4, 2017
2 parents 81c79ff + 928cce6 commit db93d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions option-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function loadHandlers() {
'tmn': "TMNSaveOptions",
'options': tmn_options.options
});
//TMNSetOptionsMenu(tmn_options);
//TMNSetOptionsMenu(tmn_options);
});

$("#trackmenot-opt-help").click(function() {
Expand Down Expand Up @@ -87,7 +87,7 @@ function loadHandlers() {
engine.name = $("#newengine-name").val();
engine.urlmap = $("#newengine-map").val();
if (engine.urlmap.indexOf('trackmenot') < 0) {
alert("To add the engine url, search 'trackmenot' (without the quotes) on the engine you want to add, and copy/paste the search url in the URL text box bellow.");
alert("To add a new search engine url, search 'trackmenot' (without the quotes) on your desired search engine. Then, copy and paste the search url in the URL text box below.");
return;
}
api.runtime.sendMessage({
Expand Down Expand Up @@ -252,4 +252,4 @@ document.addEventListener('DOMContentLoaded', function() {



api.runtime.onMessage.addListener(handleRequest);
api.runtime.onMessage.addListener(handleRequest);

0 comments on commit db93d39

Please sign in to comment.