Ignore:
Timestamp:
Apr 12, 2015, 11:55:51 AM (9 years ago)
Author:
mistic100
Message:

invalid js in SwitchBox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r29359 r31080  
    3535        document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}';
    3636}
    37 (SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");
     37(window.SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");
    3838{/literal}{/footer_script}
    3939{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     
    294294        );
    295295}
    296 (SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox");
     296(window.SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox");
    297297{/strip}{/footer_script}
    298298                        <div id="privacyLevelBox" class="switchBox" style="display:none">
Note: See TracChangeset for help on using the changeset viewer.