• Resolved Jesse Graupmann

    (@jgraup)


    I’m getting this error when the ‘Distraction-Free Writing’ dialog is shown.

    Uncaught TypeError: undefined is not a function
    https://bb.justgooddesign.com/wp-content/plugins/wp-jump-menu/assets/js/jquery.ui.position.js?ver=3.3.1 line 103

    When this error occurs – I cannot dismiss the message and it covers important navigation in the upper left.

    Distraction-Free Writing
    Enable distraction-free writing mode, and everything surrounding the editor will fade away when you start typing. Move your mouse out of the editor to reveal everything again.

    Line #103: marginLeft = parseInt( $.curCSS( this, "marginLeft", true ) ) || 0,
    Message: undefined is not a function

    Full block of code:

    return this.each(function() {
    		var elem = $( this ),
    			elemWidth = elem.outerWidth(),
    			elemHeight = elem.outerHeight(),
    			marginLeft = parseInt( $.curCSS( this, "marginLeft", true ) ) || 0,
    			marginTop = parseInt( $.curCSS( this, "marginTop", true ) ) || 0,
    			collisionWidth = elemWidth + marginLeft +
    				( parseInt( $.curCSS( this, "marginRight", true ) ) || 0 ),
    			collisionHeight = elemHeight + marginTop +
    				( parseInt( $.curCSS( this, "marginBottom", true ) ) || 0 ),
    			position = $.extend( {}, basePosition ),
    			collisionPosition;

    For now, I can disable the plugin to remove the error. Any help is appreciated as this is my favorite plugin to use.

    Thanks,
    J

    https://www.ads-software.com/plugins/wp-jump-menu/

Viewing 5 replies - 1 through 5 (of 5 total)
  • physalis

    (@physalis)

    A client of mine just reported in that ‘curCSS is not a function’ is popping up on their backend coming from WP Jump Menu. Too bad!

    Plugin Author James Krill

    (@jkrill)

    Releasing a fix for this right now. Sorry about that! The plugin wasn’t even using that jquery.ui.position.js file anymore. I removed it and with version 3.4.0 you should be free of errors.

    Let me know!

    physalis

    (@physalis)

    Hi jkrill,

    thanks a bunch, you know how much I love your plugin, it’s so useful ;).

    Best

    physalis

    Plugin Author James Krill

    (@jkrill)

    Resolved? I think so.

    Yes :)!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Bug] jquery.ui.position.js?ver=3.3.1 line 103’ is closed to new replies.