Plugin Directory

Changeset 3265865


Ignore:
Timestamp:
04/02/2025 06:39:46 PM (11 months ago)
Author:
caseyak
Message:

Update files for 1.4

Location:
caseyak/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • caseyak/trunk/README.txt

    r3263545 r3265865  
    66Tested up to: 6.7.2
    77Requires PHP: 7.0
    8 Stable tag: 1.3
     8Stable tag: 1.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7474* Bug fixes & misc improvements
    7575
     76= 1.4 =
     77* Bug fixes & misc improvements
     78
    7679== Upgrade Notice ==
    7780
     
    9093= 1.3 =
    9194* Bug fixes & misc improvements
     95
     96= 1.4 =
     97* Bug fixes & misc improvements
  • caseyak/trunk/caseyak.php

    r3263545 r3265865  
    1717 * Plugin URI:        https://caseyak.com/wordpress
    1818 * Description:       The CaseYak AI Case Value Calculator.
    19  * Version:           1.3
     19 * Version:           1.4
    2020 * Author:            CaseYak
    2121 * Author URI:        https://caseyak.com
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'CASEYAK_VERSION', '1.3' );
     38define( 'CASEYAK_VERSION', '1.4' );
    3939
    4040/**
  • caseyak/trunk/public/js/mva.js

    r3262449 r3265865  
    14661466    widget.innerHTML = widgetHtml;
    14671467    document.body.appendChild(widget); // create actual widget
     1468    setTimeout(() => {
     1469        if (slidePosition == 'left') {
     1470          widget.style.left = '10px';
     1471        } else {
     1472          widget.style.right = '10px';
     1473        }
     1474    }, "1000");
     1475
    14681476
    14691477    var yakContainer = document.createElement('div');
     
    15131521  };
    15141522
    1515   var slideOutYak = function (slidePosition = 'right') {
    1516     // slide out yak bubble
    1517     setTimeout(function () {
    1518       if (slidePosition == 'left') {
    1519         document.getElementById('yakWidget-111').style.left = '10px';
    1520         document.getElementById('yakWidget-111').style.textAlign = 'left';
    1521       } else {
    1522         document.getElementById('yakWidget-111').style.right = '10px';
    1523       }
    1524     }, 1000);
    1525   };
    1526 
    15271523  function launchForm(slidePosition = 'right', isCondensed = false) {
    1528     var yakWidget = document.getElementById('yakWidget-111');
    1529 
    1530     if (slidePosition == 'left') {
    1531       yakWidget.style.left = '-500px';
    1532     } else {
    1533       yakWidget.style.right = '-500px';
    1534     }
    1535 
     1524    document.getElementById('yakWidget-111').style.display = 'none';
    15361525    document.getElementById('yakFormHeaderClose-111').style.display = 'inherit';
    15371526  }
     
    16061595    } else {
    16071596      // slide bubble onto the screen, register click handlers
    1608       slideOutYak(slidePosition);
    16091597      yakWidget.addEventListener('click', event => {
    16101598        if (event.target.id == 'yak-bubble-close-x') {
     
    16141602        }
    16151603
     1604        yakWidget.remove();
     1605
    16161606        if (slidePosition == 'left') {
    1617           yakWidget.style.left = '-500px';
    16181607          document.getElementById('yakContainer-111').style.left = isCondensed ? '0px' : '10px';
    16191608        } else {
    1620           yakWidget.style.right = '-500px';
    16211609          document.getElementById('yakContainer-111').style.right = isCondensed ? '0px' : '10px';
    16221610        }
Note: See TracChangeset for help on using the changeset viewer.