Fossil

Check-in [1d5eea66]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Avoided a divide by 1000 by changing a value formerly specified in floating point seconds to be specified in milliseconds, so we don't need the arithmetic.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:1d5eea6669af52b3784de69293e05e8d99c520ad2fa70ae25db15c8c25c4cfd8
User & Date: wyoung 2018-09-12 12:33:59
Context
2018-09-12
13:20
Added copyright and license comment to the top of the new skins/default/js.txt file. check-in: 972ae10b user: wyoung tags: trunk
12:33
Avoided a divide by 1000 by changing a value formerly specified in floating point seconds to be specified in milliseconds, so we don't need the arithmetic. check-in: 1d5eea66 user: wyoung tags: trunk
12:32
Moved a single-use variable interpolation inline with its use point. Also improved some comments. check-in: 56db6170 user: wyoung tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to skins/default/js.txt.

94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109

            // Display the panel
            if (animate) {
              // Set up a CSS transition to animate the panel open and
              // closed.  Only needs to be done once per page load.
              // Based on https://stackoverflow.com/a/29047447/142454
              calculatePanelHeight();
              panel.style.transition = 'max-height ' +
                  (animMS / 1000) + 's ease-in-out';
              panel.style.overflowY  = 'hidden';
              panel.style.maxHeight  = '0';
              showPanel();
            }
            panel.style.display = 'block';
          }
        }







|
|







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109

            // Display the panel
            if (animate) {
              // Set up a CSS transition to animate the panel open and
              // closed.  Only needs to be done once per page load.
              // Based on https://stackoverflow.com/a/29047447/142454
              calculatePanelHeight();
              panel.style.transition = 'max-height ' + animMS +
                  'ms ease-in-out';
              panel.style.overflowY  = 'hidden';
              panel.style.maxHeight  = '0';
              showPanel();
            }
            panel.style.display = 'block';
          }
        }