Skip to content

Commit 1d7c08f

Browse files
author
bkraul
committed
Removed unused function on set.js
1 parent 367fc05 commit 1d7c08f

File tree

1 file changed

+0
-12
lines changed
  • BBCodePlus/files/markitup/sets/mantis

1 file changed

+0
-12
lines changed

BBCodePlus/files/markitup/sets/mantis/set.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,4 @@ mySettings = {
255255
{name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
256256
{name:'Preview', className:'preview', call:'preview'},
257257
]
258-
}
259-
260-
function getQueryVariable(variable) {
261-
var query = window.location.search.substring(1);
262-
var vars = query.split('&');
263-
for (var i = 0; i < vars.length; i++) {
264-
var pair = vars[i].split('=');
265-
if (decodeURIComponent(pair[0]) == variable) {
266-
return decodeURIComponent(pair[1]);
267-
}
268-
}
269-
console.log('Query variable %s not found', variable);
270258
}

0 commit comments

Comments
 (0)