mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 18:56:04 +00:00
Showing icon as soon as possible.
This commit is contained in:
parent
5293443c86
commit
699fd726c4
|
@ -1,3 +1,8 @@
|
||||||
|
// Showing page action
|
||||||
|
chrome.extension.sendMessage({
|
||||||
|
type: 'showPageAction'
|
||||||
|
});
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Grouping console log
|
// Grouping console log
|
||||||
console.group('point-plus');
|
console.group('point-plus');
|
||||||
|
@ -27,8 +32,8 @@ $(document).ready(function() {
|
||||||
draft_restore();
|
draft_restore();
|
||||||
|
|
||||||
// Loading options
|
// Loading options
|
||||||
chrome.storage.sync.get('options', function(options_data) {
|
chrome.storage.sync.get('options', function(sync_data) {
|
||||||
var options = options_data.options;
|
var options = sync_data.options;
|
||||||
|
|
||||||
// Options debug
|
// Options debug
|
||||||
console.debug('Options loaded: %O', options);
|
console.debug('Options loaded: %O', options);
|
||||||
|
@ -526,11 +531,6 @@ $(document).ready(function() {
|
||||||
|
|
||||||
$('.point-plus-debug').fadeOut(500);
|
$('.point-plus-debug').fadeOut(500);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Showing page action
|
|
||||||
chrome.extension.sendMessage({
|
|
||||||
type: 'showPageAction'
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function getProtocol() {
|
function getProtocol() {
|
||||||
|
|
Loading…
Reference in a new issue