mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 18:56:04 +00:00
Options dependency fix.
This commit is contained in:
parent
13c6f9c614
commit
5afe90a990
|
@ -5,6 +5,7 @@ $(document).ready(function() {
|
|||
// Loading options
|
||||
chrome.storage.sync.get(ppOptions, function(options) {
|
||||
// Fancybox
|
||||
if (options.option_fancybox == true) {
|
||||
// Images
|
||||
if (options.option_fancybox_images == true) {
|
||||
// Linking images in posts to the galleries
|
||||
|
@ -34,6 +35,8 @@ $(document).ready(function() {
|
|||
maxWidth: 780
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Hotkeys
|
||||
// Send by CTRL+Enter
|
||||
if (options.option_ctrl_enter == true) {
|
||||
|
@ -104,6 +107,7 @@ $(document).ready(function() {
|
|||
});
|
||||
}
|
||||
// WebSocket
|
||||
if (options.option_ws == true) {
|
||||
// Comments
|
||||
if (options.option_ws_comments == true) {
|
||||
// If we are in the post page
|
||||
|
@ -207,6 +211,8 @@ $(document).ready(function() {
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Showing page action
|
||||
|
|
Loading…
Reference in a new issue