Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
store something if no flash warning was shown.
Browse files Browse the repository at this point in the history
closes elastic#65
  • Loading branch information
bleskes committed Jan 24, 2014
1 parent 62fe4c9 commit 3b31e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sense/app/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ define([
zc.on('wrongflash noflash', function () {
if (!localStorage.getItem('flash_warning_shown')) {
alert('Sense needs flash version 10.0 or greater in order to provide "Copy as cURL" functionality');
localStorage.setItem('flash_warning_shown');
localStorage.setItem('flash_warning_shown', 'true');
}
$copyAsCURL.hide();
});
Expand Down

0 comments on commit 3b31e83

Please sign in to comment.