0
Under review

I can't auto change preview thumbnail

a1267988 3 years ago updated 3 years ago 2


//後台腳本

(function(){
var MAX_SIMULTANEUSELY_CAPTURES = 1;

fvdSpeedDial.HiddenCaptureQueue = new function(){

var queue = [];
var currentItem = null;
var nowCapturesInProgressCount = 0;
var self = this;

var ignoreIdsAfterComplete = [];

函數checkNeedIgnoreIdAndRemove(id){
var removeIndex = ignoreIdsAfterComplete.indexOf(id);
if(removeIndex!= -1){
ignoreIdsAfterComplete.splice(removeIndex,1);

返回true;
}

返回false;
}

函數captureNext(){

if(nowCapturesInProgressCount > = MAX_SIMULTANEUSELY_CAPTURES){
返回;
}

if(queue.length === 0){
返回;
}

var item = queue.shift();

currentItem =項目;
nowCapturesInProgressCount ++;

fvdSpeedDial.HiddenCapture.capture(item.params,function(resultData){
if(!checkNeedIgnoreIdAndRemove(currentItem.id)){

console.info(“捕獲完成”);

Broadcaster.sendMessage({
action:“ hiddencapture:done”,
params:item.params,
result:resultData
});
if(item.callback){
item.callback(resultData);
}
}

currentItem = null;

nowCapturesInProgressCount--;
captureNext();
});

}

this.removeFromQueueById = function(id){
if(currentItem && currentItem.id == id){//任務#1486
ignoreIdsAfterComplete.push(id);
返回;
}

var index = -1;

for(var i = 0; i!= queue.length; i ++){

if(queue [i] .id == id){
索引= i;
打破;
}

}

if(index!= -1){
queue.splice(index,1);
}

};

this.getQueue = function(){
返回隊列;
};

this.getCurrentItem = function(){
返回currentItem;
};

this.isEnqueued = function(id){
if(currentItem && currentItem.id == id){
返回true;
}
for(var i = 0; i!= queue.length; i ++){
if(queue [i] .id == id){
返回true;
}
}
返回false;
};

this.capture = function(params,callback){

checkNeedIgnoreIdAndRemove(params.id);

queue.push({
id:params.id,
params:params,
callback:callback
});

captureNext();

};

this.empty = function(){
queue = [];
};

}();

Broadcaster.onMessage.addListener(function(msg,sender,sendResponse){
if(msg.action ==“ hiddencapture:queue”){
var params = msg.params,
cb = null;
if(params.wantResponse){
cb =函數(res){
sendResponse(res);
};
}
fvdSpeedDial.HiddenCaptureQueue.capture(params,cb);
if(cb){
返回true;
}
}否則
如果(msg.action ==“hiddencapture:空”){
fvdSpeedDial.HiddenCaptureQueue.empty();
}
else
if(msg.action ==“ storage:dialsCleared”){
//刪除所有撥號,清空隊列
fvdSpeedDial.HiddenCaptureQueue.empty();
}
});
})();
-------------------------------------------------------------------------------------------------
(function() {
var CAPTURE_WIDTH = 1024;
var CAPTURE_HEIGHT = 768;
var CAPTURE_TIMEOUT = 60000 * 2; // 2 minutes
var CHECK_COMPLETE_INTERVAL = 1000;
var CHECK_COMPLETE_INTERVAL_FINAL = 3000;
var DISPLAY_HIDDEN_WINDOW_MONITOR = 5;
var START_TIME = Date.now();

var CANNOT_CAPTURE_REGEXPS = [/^chrome:\/\//i, /^chrome-extension:\/\//i, /^moz-extension:\/\//i];
var FAILED_IMAGE = {
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAgAElEQVR4Xu2de5QcdbXvv/tXVT0Jr5hM9yQmghARRQVBfB5QuLgUUNCLit7rUoMCuYc3CMor01PTk/DG8FI8gBiOruP7eI6ACPeIchD1yEMwalADgQMJTHcnISBkpqtq77tqYtaNMJPpV1XXY88/LFZ+v/347F9/u+tXvwdB/5SAEsgtAcpt5pq4ElACUAHQQaAEckxABSDHxdfUlYAKgI4BJZBjAioAOS6+pq4EVAB0DCiBHBNQAchx8TV1JaACoGNACeSYgApAjouvqSsBFQAdA0ogxwRUAHJcfE1dCagA6BhQAjkmoAKQ4+Jr6kpABUDHgBLIMQEVgBwXX1NXAioAOgaUQI4JqADkuPiauhJQAdAxoARyTEAFIMfF19SVgAqAjgElkGMCKgA5Lr6mrgRUAHQMKIEcE1AByHHxNXUloAKgY0AJ5JiACkCOi6+pKwEVAB0DSiDHBFQAclx8TV0JqADoGFACOSagApDj4mvqSkAFQMeAEsgxARWAHBdfU1cCKgAZHQMLzpP+cdvbnYzZQ0ReDcI8ARWNSD+AIgT9IOwoHPQRqMBA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Aa0jkRjH2ivowrUtxKokOXQUgEeURGhj03ymET4BxDAzmJyKsuINgPEUG3yOS744OF34dt/s8+lMBSFzVhUqD/kEgfBSCIzK/uEjwCBFuh+AH1RH7lwBJ4kqS4YBUABJe3HArsgTmcIGEYnBw6s8lYH4OxtxNkNuNCW5/xp35eMJLkOnwVADSVN5jxCq90dsHjANBOAiCAwHaNckpEMt/A7hXDO4lwS+qlrNSJ/KSUzEVgOTUoq1IwrsOx+Hva1j2AZl9IbIPwHsCZnZbBtvuxBsJ5i/CtBKGVwrodwVjr1znUr1tk9oxcgIqAJEj7o2DiZuQZ3p7EJs9GLw7geaCqSgk/SAUCegHZCcGCoalb+K/Bn1htMwYN0CDDY1bjHEx9IIA6yGok9B6GKkLZNQYswYBr/EazuMbL6FNvclUvXZCQAWgE3raVwmknIAKQMoLqOErgU4IqAB0Qk/7KoGUE1ABSHkBNXwl0AkBFYBO6GlfJZByAioAKS+ghq8EOiGgAtAJPe2rBFJOQAUg5QXU8JVAJwRUADqhp32VQMoJqACkvIAavhLohIAKQCf0tK8SSDkBFYCUF1DDVwKdEFAB6ISe9lUCKSegApDyAmr4SqATAioAndDTvkog5QRUAFJeQA1fCXRCQAWgE3raVwmknIAKQMoLqOErgU4IqAB0Qk/7KoGUE1ABSHkBNXwl0AkBFYBO6GlfJZByAioAKS+ghq8EOiGgAtAJPe2rBFJOQAUg5QXU8JVAJwT+H7XRabX7nsaoAAAAAElFTkSuQmCC",
size: {
width: 30,
height: 30
}
};

function RemoveWindowListener( captureWindowId ){

var self = this;

function _removeWindowListener( removedWindowId ){

if( removedWindowId == captureWindowId ){
return self.stop();
}

chrome.windows.getAll( function( windows ){

if( windows.length == 1 && windows[0].id == captureWindowId ){
chrome.windows.remove( captureWindowId );
}

} );

}

chrome.windows.onRemoved.addListener( _removeWindowListener );

this.stop = function(){
chrome.windows.onRemoved.removeListener( _removeWindowListener );
};

}

fvdSpeedDial.HiddenCapture = new function(){

var isLinux = navigator.platform.toLowerCase().indexOf( "linux" ) !== -1;
var isMac = navigator.platform.toLowerCase().indexOf( "mac" ) === 0;
var isWin = navigator.platform.toLowerCase().indexOf( "win" ) === 0;

this.capture = function(params, callback) {
function returnFailedImage() { // Task #1201
setTimeout(function () {
callback({
dataUrl: FAILED_IMAGE.src
, title: _('error_getting_title')
, thumbSize: {
width: FAILED_IMAGE.size.width
, height: FAILED_IMAGE.size.height
}
});
}, 0);
}
for (var i = 0; i != CANNOT_CAPTURE_REGEXPS.length; i++) {
if (CANNOT_CAPTURE_REGEXPS[i].test(params.url)) {
return returnFailedImage();
}
}

if(!params.saveImage) {
// special case, capture only title, do not create separate tab due to #1298
// only make xmlhttprequest to parse a title
fvdSpeedDial.Utils.getTitleForUrl(params.url, function(title) {
callback({
title: title || ""
});
});
return;
}

if( typeof params == "string" ){
params = {
url: params
};
}
params.width = params.width || fvdSpeedDial.SpeedDial.getMaxCellWidth() * 2;
var winCreateParams = {
url: params.url,
focused: false,
left: 100000,
top: 100000,
width: isWin ? 100 : 1,
height: isWin ? 100 : 1,
type: "popup"
};

function onWindowCreate(w) {
var removeListener = new RemoveWindowListener( w.id );

if(!w.tabs || !w.tabs.length){
// close window
chrome.windows.remove( w.id );
return;
}

var ctimeout = null;
var timeout = setTimeout(function(){

try{
clearTimeout( ctimeout );
}
catch( ex ){

}

chrome.windows.remove( w.id );
callback( null );

}, CAPTURE_TIMEOUT);

fvdSpeedDial.Utils.Async.chain([
function(next) {
// can't hide window on Mac OS, by setting large positions
if(isMac) {
return next();
}
var monitor = 0;
fvdSpeedDial.Utils.Async.cc(function( ccCallback ){
chrome.windows.update(w.id, {
top: 100000,
left: 100000
}, function(){
monitor++;
if( monitor == DISPLAY_HIDDEN_WINDOW_MONITOR ){
// restore size
chrome.windows.update( w.id, {
width: CAPTURE_WIDTH,
height: CAPTURE_HEIGHT
}, function() {
next();
} );
return;
}
ccCallback();
});
});
},
function() {
if( isLinux || isMac ){
chrome.windows.update(w.id, {
state: "minimized"
});
}
}
]);

var tab = w.tabs[0];

if(String(tab.url).indexOf('chrome-error://') !== -1) {
return returnFailedImage();
}

// mute tab
chrome.tabs.update(tab.id, {
muted: true
});

chrome.tabs.executeScript( tab.id, {
file: "/content-scripts/hiddencapture.js",
runAt: "document_start"
});

var isFinalTimeout = false;
function checkTimeout( interval ) {

ctimeout = setTimeout(function(){

chrome.tabs.get( tab.id, function( tabInfo ){

if( !tabInfo ){
// tab closed
clearTimeout( timeout );
return callback( null );
}

if(String(tabInfo.url).indexOf('chrome-error://') !== -1) { // Task #1155
return returnFailedImage();
}

if( !params.saveImage && tabInfo.title ){
// capture only title
chrome.windows.remove( w.id );
return callback({
title: tabInfo.title
});
}

if( tabInfo.status == "complete" ){
if( isFinalTimeout ){
capture( tabInfo );
}
else{
isFinalTimeout = true;
checkTimeout( CHECK_COMPLETE_INTERVAL_FINAL );
}
}
else{
isFinalTimeout = false;
checkTimeout();
}

} );

}, interval || CHECK_COMPLETE_INTERVAL);

}

function normailzeWithCheck( callback, attemptNum ){
if( attemptNum == 10 ){
// alert(_("dlg_alert_release_left_button"));
}

if( attemptNum > 30 ){
return callback();
}

attemptNum = attemptNum || 0;
var updateData = {
state: "normal",
focused: false
};
if(isLinux) {
updateData.left = 10000;
updateData.top = 10000;
}
chrome.windows.update(w.id, updateData, function(win){
console.log("Normalize attempt", attemptNum, w.id, updateData, win);
chrome.windows.get( w.id, function( wInfo ) {
if( wInfo.state != "normal" ){
normailzeWithCheck( callback, attemptNum + 1 );
}
else{
callback();
}
} );

});

}

function capture( tab ){
fvdSpeedDial.Utils.Async.chain([

function(chainCallback) {
// replace alerts before capture, because onbeforeunload alert can block page closing
chrome.tabs.executeScript( tab.id, {
code: 'window.postMessage({action:"fvdsd:hiddenCapture:__replaceAlerts"}, "*")'
}, function() {
chainCallback();
});
},

function( chainCallback ){

chrome.windows.get( w.id, function( wInfo ){
if( wInfo.state != "normal" ){
normailzeWithCheck( chainCallback );
}
else{
chainCallback();
}
} );

},

function(){

chrome.windows.update( w.id, {
width: CAPTURE_WIDTH,
height: CAPTURE_HEIGHT,
}, function(){

setTimeout(function(){

chrome.tabs.captureVisibleTab( w.id, function( dataUrl ){
clearTimeout( timeout );
chrome.windows.remove( w.id );
if(!dataUrl) {
console.error("Fail to capture tab ", params.url, chrome.runtime.lastError);

return returnFailedImage();
}
fvdSpeedDial.ThumbMaker.getImageDataPath( {
imgUrl: dataUrl,
screenWidth: params.width
}, function( thumbUrl, thumbSize ){
callback( {
dataUrl: thumbUrl,
title: tab.title,
thumbSize: thumbSize
} );
} );
} );

}, 500);

} );

}

]);

}

checkTimeout();
}

//chrome.windows.create(winCreateParams, function( w ){});

var delay = 0, wait = 15000, shift = Date.now() - START_TIME;

if(shift < wait) delay = wait - delay; // Task # 1201

setTimeout(()=>{ // Task # 1201
try {
chrome.windows.create(winCreateParams, onWindowCreate);
}
catch(err) {
console.log('something went wrong during hidden capture:', err, 'skip')
returnFailedImage();
}

}, delay);

};

};
})();
----------------------------------------------------------------
window.addEventListener( "unload", function(){

fvdSpeedDial.Options.destroy();

}, false );

window.addEventListener("load", function( event ){
fvdSpeedDial.Localizer.localizeCurrentPage();

fvdSpeedDial.Options.init();

fvdSpeedDial.ContextMenus.init();

var linkToSd = document.getElementById( "linkToSD" );

setTimeout( function(){
linkToSd.style.top = "-50px";
linkToSd.addEventListener("webkitTransitionEnd", function(){

setTimeout(function(){
linkToSd.setAttribute( "blackshadow", "1" );
}, 500);


}, false);
}, 1000 );


// set events

document.getElementById("linkToSD").addEventListener( "click", function(){
document.location='newtab.html';
}, false );

document.getElementById("buttonBigSettings").addEventListener( "click", function(){
fvdSpeedDial.Options.setType('global');
}, false );

document.getElementById("buttonBigSpeedDial").addEventListener( "click", function(){
fvdSpeedDial.Options.setType('speeddial');
}, false );

document.getElementById("buttonBigMostVisited").addEventListener( "click", function(){
fvdSpeedDial.Options.setType('mostvisited');
}, false );

document.getElementById("buttonBigRecentlyClosed").addEventListener( "click", function(){
fvdSpeedDial.Options.setType('recentlyclosed');
}, false );

document.getElementById("buttonBigBackground").addEventListener( "click", function(){
fvdSpeedDial.Options.setType('bg');
}, false );

document.getElementById("buttonBigSdFontColors").addEventListener( "click", function(){
fvdSpeedDial.Options.setType('fonts');
}, false );

document.getElementById("buttonBigSdSync").addEventListener( "click", function(){
fvdSpeedDial.Options.syncOptionsOpen();
}, false );

document.getElementById("buttonBigSdGetSatisfaction").addEventListener( "click", function(){
fvdSpeedDial.Options.openGetSatisfactionSuggestions();
}, false );

document.getElementById("buttonBigSdDonate").addEventListener( "click", function( event ){
fvdSpeedDial.Options.openDonateMessage(event);
}, false );

document.getElementById("buttonBigSdPowerOff").addEventListener( "click", function( event ){
fvdSpeedDial.Options.setType('poweroff');
}, false );

try{
if(document.getElementById("buttonBigSdWidgets"))
document.getElementById("buttonBigSdWidgets").addEventListener( "click", function( event ){
fvdSpeedDial.Options.setType('widgets');
}, false );
}
catch( ex ){

}

document.getElementById("settingsContent").addEventListener( "scroll", function( event ){
document.getElementById("settingsContent").scrollLeft = 0;
}, false );


document.getElementById("importExport_export").addEventListener( "click", function( event ){
if( !fvdSpeedDial.Options.dontAllowIfLocked() ){
return;
}
fvdSpeedDial.Dialogs.importExport({type:'export'});
}, false );

document.getElementById("importExport_import").addEventListener( "click", function( event ){
if( !fvdSpeedDial.Options.dontAllowIfLocked() ){
return;
}
fvdSpeedDial.Dialogs.importExport({type:'import'});
}, false );

document.getElementById("sdButtonManageDeny").addEventListener( "click", function( event ){
if( !fvdSpeedDial.Options.dontAllowIfLocked() ){
return;
}
fvdSpeedDial.Dialogs.manageDeny();
}, false );

if(document.getElementById("displayPlusCellsHelp"))
document.getElementById("displayPlusCellsHelp").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayPlusCellsHelp"), '/images/help/display_plus_cells.png', event);
}, false );

if(document.getElementById("displayQuickMenuHelp"))
document.getElementById("displayQuickMenuHelp").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayQuickMenuHelp"), '/images/help/show_quick_menu.png', event);
}, false );

document.getElementById("displayClicksHelp").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayClicksHelp"), '/images/help/show_clicks.png', event);
}, false );

if(document.getElementById("displayEnableDialsCounter"))
document.getElementById("displayEnableDialsCounter").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayEnableDialsCounter"), '/images/help/dials_counter.png', event);
}, false );

if(document.getElementById("displayShowInContextMenuHelp"))
document.getElementById("displayShowInContextMenuHelp").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayShowInContextMenuHelp"), '/images/help/display_in_context_menu.png', event);
}, false );

if(document.getElementById("displayDialBackgroundHelp"))
document.getElementById("displayDialBackgroundHelp").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayDialBackgroundHelp"), '/images/help/hide_background.png', event)
}, false );

if(document.getElementById("displayShowGrayLineHelp"))
document.getElementById("displayShowGrayLineHelp").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("displayShowGrayLineHelp"), '/images/help/show_gray_line.png', event);
}, false );

document.getElementById("mainButtonActionHelp").addEventListener("click", function(event) {
fvdSpeedDial.ToolTip.displayImage(
document.getElementById("mainButtonActionHelp"), '/images/help/main_button.png', event
)
}, false);

document.getElementById("buttonManageGroups").addEventListener( "click", function( event ){
if( !fvdSpeedDial.Options.dontAllowIfLocked() ){
return;
}
fvdSpeedDial.Dialogs.manageGroups({callback:function(result){ if(result){ fvdSpeedDial.Options.rebuildGroupsList() } }});
}, false );

document.getElementById("buttonResetSDClicks").addEventListener( "click", function( event ){
fvdSpeedDial.Dialogs.confirm(_("options_confirm_reset_clicks_title"), _("options_confirm_reset_clicks_text"), function(res) {
if(res) {
fvdSpeedDial.Storage.resetAllDialsClicks(function() {
fvdSpeedDial.Dialogs.alert(_("options_success_reset_clicks_title"), _("options_success_reset_clicks_text"));
});
}
});
}, false );

document.getElementById("bg_color").addEventListener( "change", function( event ){
fvdSpeedDial.Options.refreshBg();
document.getElementById('bg_useColor').checked = true;
}, false );

document.getElementById("bg_imageType").addEventListener( "change", function( event ){
fvdSpeedDial.Options.refreshBgViewType();
}, false );

document.getElementById("backgroundUploadButton").addEventListener( "click", function( event ){
document.getElementById("backgroundUploadButton").getElementsByTagName('input')[0].click();
}, false );

document.getElementById("uploadBackgroundFile").addEventListener( "change", function( event ){
fvdSpeedDial.Options.selectLocalBackground();
}, false );

document.getElementById("btnLoadAndPreview").addEventListener( "click", function( event ){
fvdSpeedDial.Options.bgLoadAndPreview();
}, false );



document.getElementById("backgroundButtonRestoreDefault").addEventListener( "click", function( event ){
fvdSpeedDial.Options.bgRestoreDefault();
}, false );

document.getElementById("helpListElemColor").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("helpListElemColor"), '/images/help/text_list_elem_color.png', event)
}, false );

document.getElementById("helpShowUrlTitleColor").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("helpShowUrlTitleColor"), '/images/help/text_list_show_url_title_color.png', event);
}, false );

document.getElementById("helpTextListLinkColor").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("helpTextListLinkColor"), '/images/help/text_list_link_color.png', event);
}, false );

if(document.getElementById("helpTextOtherkColor"))
document.getElementById("helpTextOtherkColor").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(document.getElementById("helpTextOtherkColor"), '/images/help/text_other_color.png', event);
}, false );

/*
document.getElementById("helpListFvdSpeedDial").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(event.target, '/images/help/fvd_speed_dial_tooltip.png', event)
}, false );

document.getElementById("helpListFvdSync").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(event.target, '/images/help/fvd_eversync_tooltip.png', event)
}, false );

document.getElementById("helpListEverHelper").addEventListener( "click", function( event ){
fvdSpeedDial.ToolTip.displayImage(event.target, '/images/help/fvd_everhelper_tooltip.png', event)
}, false );
*/

document.getElementById("fontsButtonRestoreDefault").addEventListener( "click", function( event ){
fvdSpeedDial.Options.fontsRestoreDefaults();
}, false );

document.getElementById("applyChangesButton").addEventListener( "click", function( event ){
if( !fvdSpeedDial.Options.dontAllowIfLocked() ){
return;
}
fvdSpeedDial.Options.applyChanges();
}, false );

document.getElementById("buttonCloseButton").addEventListener( "click", function( event ){
fvdSpeedDial.Options.close();
}, false );

document.getElementById("installThemesForChrome").addEventListener( "click", function( event ){

chrome.tabs.create({
url: "http://fvdmedia.com/to/s/chrome_thm/",
active: true
});
}, false );

document.getElementById("setAuthoPreview_setPreview").addEventListener( "click", function( event ){
fvdSpeedDial.Options.setAutoPreviewGlobally();
}, false );
document.getElementById("sdPreviewSettings_turnOffAutoUpdate").addEventListener( "click", function( event ){
fvdSpeedDial.Options.turnOffAutoUpdateGlobally();
}, false );
document.getElementById("sdPreviewSettings_setAutoUpdate").addEventListener( "click", function( event ){
fvdSpeedDial.Options.setAutoUpdateGlobally();
}, false );

document.querySelector(".backupViaEversyncSuggestion button").addEventListener("click", function() {
//fvdSpeedDial.Options.setType("sync"); // Task #2006
fvdSpeedDial.Options.syncOptionsOpen( false, 'backups' );
}, false);

fvdSpeedDial.Sync.isActive(function(isActive) {
document.documentElement.setAttribute("data-sync-active", isActive ? 1 : 0);
});

// fix number fields limit
var numberInputs = document.querySelectorAll( "input[type=\"number\"]" );

for( var i = 0; i != numberInputs.length; i++ ){
var numberInput = numberInputs[i];
(function( numberInput ){

numberInput.addEventListener( "input", function(){

var max = parseInt( numberInput.getAttribute( "max" ) );
var min = parseInt( numberInput.getAttribute( "min" ) );

if( !isNaN(max) && numberInput.value > max ){
numberInput.value = max;
}
else if( !isNaN(max) && numberInput.value < min ){
numberInput.value = min;
}

if( isNaN( numberInput.value ) || numberInput.value === "" ){
numberInput.value = 1;
}

fvdSpeedDial.Options._changeOption( numberInput );

}, false );

})( numberInput );
}

$("[data-only-in-standard]").qtip({
content: {text: _("options_available_in_standard_theme_only")},
position: {
at: 'top center',
my: 'bottom center'
},
style: {
classes: "qtip-dark",
tip: {
corner: true,
width: 10,
height: 4
}
},
events: {
show: function(event, api) {
// display only if not standard theme is selected
return $("#themeSelect").val() !== "standard";
}
}
});

}, false);

Under review

Hello


We are working for fix,

Okay I look forward to hearing from you