// Fixed #PSCFV-1559 and changed default values of bxSlider
This commit is contained in:
1 parent
fc637f8083
commit
195ccbda9e
2 files changed
+6
-7
No files matched your search
@@ -65,8 +65,8 @@ class HomeSlider extends Module
|
|||||||
/* Sets up configuration */
|
/* Sets up configuration */
|
||||||
$res = Configuration::updateValue('HOMESLIDER_WIDTH', '535');
|
$res = Configuration::updateValue('HOMESLIDER_WIDTH', '535');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_HEIGHT', '300');
|
$res &= Configuration::updateValue('HOMESLIDER_HEIGHT', '300');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_SPEED', '1300');
|
$res &= Configuration::updateValue('HOMESLIDER_SPEED', '500');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_PAUSE', '7700');
|
$res &= Configuration::updateValue('HOMESLIDER_PAUSE', '3000');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_LOOP', '1');
|
$res &= Configuration::updateValue('HOMESLIDER_LOOP', '1');
|
||||||
/* Creates tables */
|
/* Creates tables */
|
||||||
$res &= $this->createTables();
|
$res &= $this->createTables();
|
||||||
|
|||||||
@@ -26,11 +26,10 @@
|
|||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
if (!homeslider_speed == undefined)
|
if (typeof(homeslider_speed) == 'undefined')
|
||||||
var homeslider_speed = 300;
|
homeslider_speed = 500;
|
||||||
if (!homeslider_pause == undefined)
|
if (typeof(homeslider_pause) == 'undefined')
|
||||||
var homeslider_pause = 6000;
|
homeslider_pause = 3000;
|
||||||
|
|
||||||
if (typeof(homeslider_loop) == 'undefined')
|
if (typeof(homeslider_loop) == 'undefined')
|
||||||
homeslider_loop = true;
|
homeslider_loop = true;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user