mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-12-28 17:24:20 +00:00
Small fixes.
This commit is contained in:
parent
8f9d880cb2
commit
c0e18f8807
|
@ -13,7 +13,7 @@ chrome.storage.sync.get('options_version', function(data) {
|
|||
* Inject several JS files
|
||||
* @param {number} tabId Unique ID of tab which requested injection
|
||||
* @param {Object[]} files Array of objects of files to inject
|
||||
* @callback onAllInjected Callback function running when injection ends
|
||||
* @param {function} onAllInjected allback function running when injection ends
|
||||
*/
|
||||
function injectJS(tabId, files, onAllInjected) {
|
||||
var item = files.shift();
|
||||
|
|
|
@ -176,7 +176,7 @@ $(document).ready(function() {
|
|||
// If all JS are executed
|
||||
console.debug('Fancybox injection response: %O', response);
|
||||
if (response) {
|
||||
console.log('Fancybox executed. Processing...')
|
||||
console.log('Fancybox executed. Processing...');
|
||||
|
||||
if (options.is('option_fancybox_bind_images_to_one_flow')) {
|
||||
// Linking images in posts to the galleries
|
||||
|
@ -396,7 +396,7 @@ $(document).ready(function() {
|
|||
try {
|
||||
// ping :)
|
||||
if (evt.data == 'ping') {
|
||||
console.debug('ws-ping');
|
||||
console.info('ws-ping');
|
||||
} else {
|
||||
var wsMessage = JSON.parse(evt.data);
|
||||
|
||||
|
@ -634,7 +634,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
function getProtocol() {
|
||||
return ((location.protocol == 'http:') ? 'http:' : 'https:')
|
||||
return ((location.protocol == 'http:') ? 'http:' : 'https:');
|
||||
}
|
||||
|
||||
function escapeHtml(text) {
|
||||
|
|
Loading…
Reference in a new issue