Changeset 31891 for extensions


Ignore:
Timestamp:
Sep 29, 2017, 2:20:57 PM (6 years ago)
Author:
plg
Message:

bug fixed: on theme Stripped, even if we have enable menu on picture.php, nothing shows up and MenuRandomPhoto generates a JS error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/MenuRandomPhoto/mrp.js

    r31780 r31891  
    44
    55  var randomPict = MRP_Opt['pictures'];
    6   if (randomPict.length > 1) {
     6  if (randomPict.length > 1 && $("#mbRandomPhoto").length > 0) {
    77    $('#imrp_ill0 a').attr("href", randomPict[0]['link']);
    88    $('#imrp_ill0 img').attr("src", randomPict[0]['thumb']);
Note: See TracChangeset for help on using the changeset viewer.