We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8b5ccd + 35211ed commit ba6dd40Copy full SHA for ba6dd40
lib/getPrefix.js
@@ -8,6 +8,7 @@ module.exports = function() {
8
.match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o'])
9
)[1];
10
// 'ms' is not titlecased
11
+ if(pre === undefined || pre === null) return '';
12
if (pre === 'ms') return pre;
13
return pre.slice(0, 1).toUpperCase() + pre.slice(1);
14
};
0 commit comments