diff --git a/chrome_point_plus/css/point-plus.css b/chrome_point_plus/css/point-plus.css index 702a25a..5276d68 100644 --- a/chrome_point_plus/css/point-plus.css +++ b/chrome_point_plus/css/point-plus.css @@ -180,8 +180,3 @@ div#markItUpText-input { margin-left: 0.2em; background: #f2eceb; } - -/* Embeded audio */ -audio.embeded_audio{ - display: block; -} diff --git a/chrome_point_plus/js/options.js b/chrome_point_plus/js/options.js index 8890c3a..bc75495 100644 --- a/chrome_point_plus/js/options.js +++ b/chrome_point_plus/js/options.js @@ -24,6 +24,7 @@ var ppOptions = [ 'option_embedding_soundcloud_orig_link', // Pleer.com 'option_embedding_pleercom', + 'option_embedding_pleercom_nokita_server', // Fluid layout 'option_fluid_layout', // Visual editor for posts @@ -62,7 +63,8 @@ function pp_save_options() { ppOptions.option_videos_parse_webm = $('#option-videos-parse-webm').prop('checked'); ppOptions.option_embedding_soundcloud = $('#option-embedding-soundcloud').prop('checked'); ppOptions.option_embedding_soundcloud_orig_link = $('#option-embedding-soundcloud-orig-link').prop('checked'); - ppOptions.option_embedding_pleercom = $('option-embedding-pleercom').prop('checked'); + ppOptions.option_embedding_pleercom = $('#option-embedding-pleercom').prop('checked'); + ppOptions.option_embedding_pleercom_nokita_server = $('#option-embedding-pleercom-nokita-server').prop('checked'); ppOptions.option_visual_editor_post = $('#option-visual-editor-post').prop('checked'); ppOptions.checkbox_search_with_google = $('#option-search-with-google').prop('checked'); ppOptions.option_ws = $('#option-ws').prop('checked'); @@ -78,7 +80,6 @@ function pp_save_options() { ppOptions.option_other_hightlight_post_comments = $('#option-other-hightlight-post-comments').prop('checked'); ppOptions.option_other_show_recommendation_count = $('#option-other-show-recommendation-count').prop('checked'); - // Saving parameters chrome.storage.sync.set(ppOptions, function() { // Update status to let user know options were saved. @@ -100,8 +101,8 @@ function pp_restore_options() { // Detecting option type if (typeof(value) == 'boolean') { // Checkbox - optionId = '#' + key.replace(/_/g, '-'); if (value === true) { + optionId = '#' + key.replace(/_/g, '-'); $(optionId).first().prop('checked', true); } } else if (typeof(value) == 'number') { diff --git a/chrome_point_plus/js/point-plus.js b/chrome_point_plus/js/point-plus.js index 35a6edf..a0459d3 100644 --- a/chrome_point_plus/js/point-plus.js +++ b/chrome_point_plus/js/point-plus.js @@ -35,7 +35,7 @@ $(document).ready(function() { $player = $('